Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task(front): cria página de criação de grades com funcionalidades pro…
…postas (#157) * web(components): cria modal flutuante padrão Co-authored-by: Arthur Ribeiro <[email protected]> * web(context): disponibilização das grades p/app * web(comp): versão básica do botão de gerar grades * web(api): integração com a geração de grades * web(schedules): versão simples da grade horária Co-authored-by: Arthur Ribeiro <[email protected]> * web(fix): fix the bug of info page * web(comp): arruma nome do setModal * web(comp): define v1 da mostragem de grade * web(contexts): personaliza set de grades do user * web(mygrades): adiciona test index 0 p * web(api): remove import desnecessário * web(tailwind): adiciona nova cor snow * web(fix): changing the modal and schedule base colors * web(icons): add icons for upload, download, delete * web(modal): rm context desnecessário * web(comps): adiciona estado de preview ao schedule * web(schedules): muda layout pra p[a] * fix(app): lógica correta p/atualização de grades * web(schedules): add fnc remover grades locais * web(styles): deixa scroll bar mais fina no chrome * web(comp): cria um set de profs únicos pmostrar * task(frontend): trás as modificações da api para salvamento de grade para continuidade da criação do flow layout (#152) * task(schedule/save): criar a rota de salvamento de grade p/usuários autênticados (#144) * api(save-schedule): Created models and url path. - Still working on views * api(models): add migrations para o modelo d/grades * api(urls): arruma rota da view de salvamento * api(views): organiza imports por grupos de lib Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(settings): desliga adição de slash Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(utils): funcs p/salvar grade horária no db Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(views): modulariza views em uma pasta separada Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(views): fnc p/verificar e salvar grade do user Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(urls): adição da view nas rotas e no admin Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(settings): definição da auth padrão do swagger Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(views): correção do parm status de retorno da * api(utils): add linha de no cover p/tests * refactor(api): add espaço entre classe e função * tests(api): verifica as fnc do salvamento de grade - Tests para os casos de sucesso e erro do salvamento de grade - Verificação da models e do método __str__ da grade * refactor(views): tenta diminuir cog complexidade * refactor(views): diminui cog complexidade - A função de gerar estava com uma complexidade alta assim foi necessário refatorar para diminuir a complexidade * api(admin): deixa json bonito na pág admin * api(views): adiciona validador de request body * tests(api): verifica os casos de body incorreto * refactor(api/views): diminui cog complexidade * refactor(api): reduz cong complexidade do checker * refactor(api): modulariza validade class func --------- Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * task(frontend): alteração do ícone da volta para tela de login (#147) * frontend(feature): criação da nova página de informações para usuários * frontend(fixxing): ajustando tamanho do ícone de informação * frontend(feature): add information page for new users * web(info): organiza layout dos colaboradores * web(info): adição da descrição de utilização do site. * web(info): modulariza página de informações * fix(web): fix information page for new users * web(icons): add icons for google and search * web(icon): mudando o icone da volta para o home * web(icon): add search icon to the search bar * web(fixing): fixing search icon alt text --------- Co-authored-by: mateuvrs <[email protected]> Co-authored-by: Mateus Vieira <[email protected]> * models(schedules): add created_at field * serializers(schedules): add serializer for schedule * api(urls): add get_schedules endpoint * models(migrations): make migrations * api(schedules): add get schedules api * utils(db_handler): add get_schedule function * api(test): make tests for get schedule api --------- Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * Squashed commit of the following: commit 25375c9 Author: Caio Felipe <[email protected]> Date: Fri Dec 8 17:29:50 2023 -0300 task(delete-schedule): deleta grades do usuário e altera rotas (#151) * utils(db-handler): add delete_schedule function * api(delete-schedules): delete schedule endpoint * test(deleteschedule): add test for delete schedule * test(delete-schedule): add test for invalid token * Delete api/api/tests/test_schedules_api.py * django(api): rename and delete useless files * api(urls): update urls * utils(test): update test urls * api(save_schedule): remove auth save_schedule * api(views): add schedule view * api(views): rename view generate schedule * fix(typo): nome da classe p/ testar delete --------- Co-authored-by: Mateus Vieira <[email protected]> commit 16813ab Merge: d39a16d 610c520 Author: Caio Felipe <[email protected]> Date: Thu Dec 7 23:38:43 2023 -0300 Merge pull request #149 from unb-mds/task/get-schedule task(get-schedule): Cria API para obtenção de grades do usuário commit 610c520 Author: Caio <[email protected]> Date: Thu Dec 7 23:14:08 2023 -0300 api(test): make tests for get schedule api commit fe4dee5 Author: Caio <[email protected]> Date: Thu Dec 7 22:34:30 2023 -0300 utils(db_handler): add get_schedule function commit d4b1505 Author: Caio <[email protected]> Date: Thu Dec 7 22:33:57 2023 -0300 api(schedules): add get schedules api commit 492c0de Author: Caio <[email protected]> Date: Thu Dec 7 22:33:38 2023 -0300 models(migrations): make migrations commit 67ed0ee Author: Caio <[email protected]> Date: Thu Dec 7 22:28:20 2023 -0300 api(urls): add get_schedules endpoint commit 9b754ce Author: Caio <[email protected]> Date: Thu Dec 7 22:27:59 2023 -0300 serializers(schedules): add serializer for schedule commit e028f6d Author: Caio <[email protected]> Date: Thu Dec 7 22:27:43 2023 -0300 models(schedules): add created_at field commit d39a16d Author: Arthur Ribeiro <[email protected]> Date: Thu Dec 7 22:18:30 2023 -0300 task(frontend): alteração do ícone da volta para tela de login (#147) * frontend(feature): criação da nova página de informações para usuários * frontend(fixxing): ajustando tamanho do ícone de informação * frontend(feature): add information page for new users * web(info): organiza layout dos colaboradores * web(info): adição da descrição de utilização do site. * web(info): modulariza página de informações * fix(web): fix information page for new users * web(icons): add icons for google and search * web(icon): mudando o icone da volta para o home * web(icon): add search icon to the search bar * web(fixing): fixing search icon alt text --------- Co-authored-by: mateuvrs <[email protected]> Co-authored-by: Mateus Vieira <[email protected]> commit 39c7d1a Author: Mateus Vieira <[email protected]> Date: Thu Dec 7 21:05:46 2023 -0300 task(schedule/save): criar a rota de salvamento de grade p/usuários autênticados (#144) * api(save-schedule): Created models and url path. - Still working on views * api(models): add migrations para o modelo d/grades * api(urls): arruma rota da view de salvamento * api(views): organiza imports por grupos de lib Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(settings): desliga adição de slash Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(utils): funcs p/salvar grade horária no db Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(views): modulariza views em uma pasta separada Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(views): fnc p/verificar e salvar grade do user Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(urls): adição da view nas rotas e no admin Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(settings): definição da auth padrão do swagger Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * api(views): correção do parm status de retorno da * api(utils): add linha de no cover p/tests * refactor(api): add espaço entre classe e função * tests(api): verifica as fnc do salvamento de grade - Tests para os casos de sucesso e erro do salvamento de grade - Verificação da models e do método __str__ da grade * refactor(views): tenta diminuir cog complexidade * refactor(views): diminui cog complexidade - A função de gerar estava com uma complexidade alta assim foi necessário refatorar para diminuir a complexidade * api(admin): deixa json bonito na pág admin * api(views): adiciona validador de request body * tests(api): verifica os casos de body incorreto * refactor(api/views): diminui cog complexidade * refactor(api): reduz cong complexidade do checker * refactor(api): modulariza validade class func --------- Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]> * web(comp): rm unicidade de professores * web(comps): add fnc de upload p/cloud * web(utils): reorganiza datas e meses separados * web(api): generate schedule request fnc * web(api): get schedule request fnc com api * web(api): fnc p/salvar grade no cloud * web(utils): fnc p/request com auth * web(contexts): add fnc de deletar grade da nuvem * web(comps): func de fazer download grade com pdf * refactor(app): arrumar erros de layout e ui/ux * web(tailwind): adiciona font mono p/datas * web(icons): adiciona expand_less/expand_more * fix(front): arruma funçao do LayoutJSX * web(fix): fixing LayoutJSX function cognitive complexity * web(fix): improving MyGrades function * web(fix): fix generate schedule function * web(fix): fixing codeclimate issues * fix(mygrades): export incorreto não utilizado * refactor(comps): reduz cog complexidade do preview * refactor(comps): reduz linhas de código Co-authored-by: Arthur Ribeiro <[email protected]> * fix(pdf): deixa download mais responsivo e ideal Co-authored-by: Arthur Ribeiro <[email protected]> * web(app): coloca index correto nas grades --------- Co-authored-by: Arthur Ribeiro <[email protected]> Co-authored-by: GabrielCastelo-31 <[email protected]> Co-authored-by: Caio <[email protected]> Co-authored-by: Arthur Ribeiro <[email protected]>
- Loading branch information