Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atualização versão Horse pra 3.1.4, unit específica para BD, adicionando Controllers e Models + Aplicação Console #3

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0fb36fd
Atualização versão Horse pra 3.1.4 e adição de GitIgnore
IagooCesaar Aug 11, 2023
0464e4c
Utilizando a lib de conexão de banco de dados ao invés da main.basedados
IagooCesaar Aug 12, 2023
a868aed
Removido main.basedados do projeto
IagooCesaar Aug 12, 2023
c09f0f9
removido main.basedados do repositorio
IagooCesaar Aug 12, 2023
5a5df34
Adicionada nova dependência https://github.com/iagoocesaar/pascal-dat…
IagooCesaar Aug 12, 2023
3ed616a
Iniciando criação de controllers - controller de unidade de medidas
IagooCesaar Aug 12, 2023
2c3f199
Inicio controller produtos
IagooCesaar Aug 12, 2023
839a705
Migrando demais rotas relacionadas a produtos para o controllers/Ean.…
IagooCesaar Aug 12, 2023
8f1b842
Convertendo MainControl em Sigleton
IagooCesaar Aug 12, 2023
634e668
Utilizando sigleton MainControl e expondo Path e Porta
IagooCesaar Aug 12, 2023
aa9c454
Migração get GETIN para controllers/Ean.Controllers.Produto.pas
IagooCesaar Aug 12, 2023
2265f7c
Migração rotas para obter foto do produto
IagooCesaar Aug 12, 2023
637a4ad
removido FHorse pois nova versão não exige esta abordagem
IagooCesaar Aug 12, 2023
1b27cd4
Substituição de Req.Params.Items['id'] por Req.Params.Field('id').AsS…
IagooCesaar Aug 15, 2023
90a9a9b
Substituição de Req.Params.Items['id'] por Req.Params.Field('id').AsS…
IagooCesaar Aug 15, 2023
1829883
Arquivos renomeados para padronização
IagooCesaar Aug 16, 2023
69dd14e
Merge pull request #1 from IagooCesaar/feature/criando-controllers
IagooCesaar Aug 16, 2023
905513c
Iniciando implementação de Models
IagooCesaar Aug 16, 2023
cc2d3dd
Implementação Entity para Produtos
IagooCesaar Aug 16, 2023
c0bbab9
Iniciando implementação do Model de Produto
IagooCesaar Aug 16, 2023
1b07f78
Obtendo dados do BD
IagooCesaar Aug 16, 2023
5a4e957
Implementando Factory de Models
IagooCesaar Aug 16, 2023
7ecbb06
Adicionado horse-jsoninterceptor
IagooCesaar Aug 16, 2023
599db74
Utilizado Model de Produto
IagooCesaar Aug 16, 2023
bf67779
removida variável não utilizada
IagooCesaar Aug 16, 2023
c7fa2ed
Retornando também o campo de link da foto
IagooCesaar Aug 17, 2023
d162f44
Manter um padrão na resposta dos dados, uma hora retorna JSON, outra …
IagooCesaar Aug 17, 2023
2a64674
Manter um padrão na resposta dos dados, uma hora retorna JSON, outra …
IagooCesaar Aug 17, 2023
a598b9a
Manter um padrão na resposta dos dados, uma hora retorna JSON, outra …
IagooCesaar Aug 17, 2023
348e23b
Iniciando model de unidade de medida
IagooCesaar Aug 17, 2023
9eed656
Implementação do Model de Unidade de Medida
IagooCesaar Aug 17, 2023
2f3f8c8
Utilizando Model de Unidade de Medida
IagooCesaar Aug 17, 2023
2f771eb
Removidas funções e variáveis não utilizadas
IagooCesaar Aug 17, 2023
0f490de
Retornando demais campos do cadastro de produto
IagooCesaar Aug 17, 2023
5e85d3a
Merge pull request #2 from IagooCesaar/feature/criando-models
IagooCesaar Aug 17, 2023
02616e2
Iniciando projeto Console
IagooCesaar Aug 17, 2023
d09a444
Criação de projeto Console com report de Memory Leak
IagooCesaar Aug 17, 2023
220aec9
adicionando arquivo refatoracao.md
IagooCesaar Aug 17, 2023
19627fb
Identificando pontos já superados
IagooCesaar Aug 17, 2023
28da770
Atualizando pontos já superados
IagooCesaar Aug 17, 2023
eddc73b
Removido antigo refatoracao.txt
IagooCesaar Aug 17, 2023
24de079
Merge pull request #3 from IagooCesaar/feature/aplicacao-console
IagooCesaar Aug 17, 2023
2e4008c
Merge branch 'main' of github.com:sacfiscal/eanpictures4D
IagooCesaar Aug 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Uncomment these types if you want even more clean repository. But be careful.
# It can make harm to an existing project source. Read explanations below.
#
# Resource files are binaries containing manifest, project icon and version info.
# They can not be viewed as text or compared by diff-tools. Consider replacing them with .rc files.
#*.res
#
# Type library file (binary). In old Delphi versions it should be stored.
# Since Delphi 2009 it is produced from .ridl file and can safely be ignored.
#*.tlb
#
# Diagram Portfolio file. Used by the diagram editor up to Delphi 7.
# Uncomment this if you are not using diagrams or use newer Delphi version.
#*.ddp
#
# Visual LiveBindings file. Added in Delphi XE2.
# Uncomment this if you are not using LiveBindings Designer.
#*.vlb
#
# Deployment Manager configuration file for your project. Added in Delphi XE2.
# Uncomment this if it is not mobile development and you do not use remote debug feature.
#*.deployproj
#
# C++ object files produced when C/C++ Output file generation is configured.
# Uncomment this if you are not using external objects (zlib library for example).
#*.obj
#

# Delphi compiler-generated binaries (safe to delete)
*.exe
*.dll
*.bpl
*.bpi
*.dcp
*.so
*.apk
*.drc
*.map
*.dres
*.rsm
*.tds
*.dcu
*.lib
*.a
*.o
*.ocx
*.res

# Permitindo RLReport.res
!/**/RLReport.res

# Delphi autogenerated files (duplicated info)
*.cfg
*.hpp
*Resource.rc

# Delphi local files (user-specific info)
*.local
*.identcache
*.projdata
*.tvsconfig
*.dsk
*.deployproj

# Delphi local directory
Linux64/

# Delphi history and backups
__history/
__recovery/
*.~*

# Log do LSP
*.delphilsp.json

# Castalia statistics file (since XE7 Castalia is distributed with Delphi)
*.stat
/*.skincfg
**/modules

#/lib liberada para registrar alterações (temporárias) nas units do ACBr ou Fortes

#Exe Folder
*/win32
*/win64
**/win64


# Firebird databases
*.FBD
11 changes: 9 additions & 2 deletions WsGTin.Aplication.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,21 @@ uses
main.view in 'src\main.view.pas' {MainView},
wsHorse in 'src\wsHorse.pas',
main.control in 'src\main.control.pas',
main.basedados in 'src\main.basedados.pas' {BaseDados};
WsGTin.Controllers.Registry in 'src\controllers\WsGTin.Controllers.Registry.pas',
WsGTin.Controllers.Produto in 'src\controllers\WsGTin.Controllers.Produto.pas',
WsGTin.Controllers.UnidadeMedida in 'src\controllers\WsGTin.Controllers.UnidadeMedida.pas',
WsGTin.Model.Interfaces in 'src\model\WsGTin.Model.Interfaces.pas',
WsGTin.Model.Entity.Produto in 'src\model\entity\WsGTin.Model.Entity.Produto.pas',
WsGTin.Model.Produto in 'src\model\WsGTin.Model.Produto.pas',
WsGTin.Model.Factory in 'src\model\WsGTin.Model.Factory.pas',
WsGTin.Model.Entity.UnidadeMedida in 'src\model\entity\WsGTin.Model.Entity.UnidadeMedida.pas',
WsGTin.Model.UnidadeMedida in 'src\model\WsGTin.Model.UnidadeMedida.pas';

{$R *.res}

begin
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TMainView, MainView);
Application.CreateForm(TBaseDados, BaseDados);
application.Run;
end.
Loading