Commit graph

3,433 commits

Author SHA1 Message Date
igorrCarvalho
a0c7712b70 Merge branch 'nodesImprovements' into minimizeNode 2023-09-12 14:28:54 -03:00
igorrCarvalho
b06cb9507f Feat: Add minimize icon and conditional render 2023-09-12 14:25:04 -03:00
anovazzi1
249cf833fa fix(AdminPage/index.tsx): fix asynchronous handling of updateUser function to properly reset filter and set success data after user update
fix(styleUtils.ts): fix import statement for GradientSparkles component to use curly braces for named import
2023-09-11 18:46:50 -03:00
anovazzi1
732c140fb7 Merge remote-tracking branch 'origin/dev' into feature/profilePage 2023-09-11 18:36:11 -03:00
anovazzi1
22a7f37efb fix(GradientSparkles/index.tsx): remove unnecessary import of Infinity component from lucide-react
fix(GradientSparkles/index.tsx): replace usage of imported Infinity component with inline SVG code to avoid crashing the UI
2023-09-11 18:33:04 -03:00
Lucas Oliveira
64bb977045 Fixed isActive and isSuperuser not changing when creating user 2023-09-11 18:09:22 -03:00
Gabriel Luiz Freitas Almeida
967483e59c Revert "Fixed isActive and isSuperuser not changing when creating user"
This reverts commit b454b8c7ce.
2023-09-11 17:29:34 -03:00
Lucas Oliveira
b454b8c7ce Fixed isActive and isSuperuser not changing when creating user 2023-09-11 16:59:33 -03:00
Lucas Oliveira
d09df8a497 Formatting Fixes 2023-09-11 16:07:40 -03:00
Lucas Oliveira
f8ab2f12be Merge branch 'dev' into feature/profilePage 2023-09-11 16:07:17 -03:00
Lucas Oliveira
77e9e79332 Fix on api button 2023-09-11 16:06:27 -03:00
Lucas Oliveira
268906fe49 Minor bug fixes to clean console 2023-09-11 16:05:25 -03:00
igorrCarvalho
c18536d1ff Refactor: Add header to node tooltips 2023-09-11 15:50:18 -03:00
Gabriel Luiz Freitas Almeida
6a477d2dd8
Fix lint error (#886) 2023-09-11 17:27:04 +00:00
Cristhian Zanforlin Lousa
a2eadbedb1 🐛 fix(api.tsx): add conditional check before calling login function to prevent errors when response data is missing access_token or refresh_token 2023-09-11 09:10:44 -03:00
Cristhian Zanforlin Lousa
b832e0844e 🐛 fix(API/index.ts): add condition to check if token exists before making the request to renew access token to prevent errors 2023-09-11 09:08:32 -03:00
Gabriel Luiz Freitas Almeida
4d0531d0cd 🐛 fix(users.py): fix variable name in if condition to correctly check for password update 2023-09-08 18:41:44 -03:00
igorrCarvalho
c21583e13b Refactor: Remove description space whem node does not have a space 2023-09-08 17:42:57 -03:00
Lucas Oliveira
f4186840fb Changed error handling 2023-09-08 17:07:27 -03:00
Lucas Oliveira
c180b3c302 Changed error handling and conditions 2023-09-08 17:07:08 -03:00
Lucas Oliveira
dfe459ce1d Fixed changing password not working 2023-09-08 16:47:53 -03:00
Lucas Oliveira
705dd6acea Fixed gradient not saving correctly 2023-09-08 16:47:53 -03:00
Gabriel Luiz Freitas Almeida
ea11b16f58 🔒 chore(users.py): refactor reset_password function to improve password verification logic 2023-09-08 16:44:25 -03:00
Gabriel Luiz Freitas Almeida
a68535cbe4 🐛 fix(users.py): prevent users from changing their password in the patch_user endpoint to ensure security
🐛 fix(users.py): prevent users from using their current password when resetting their password to ensure security
2023-09-08 16:42:56 -03:00
Gabriel Luiz Freitas Almeida
01a289dd9a 🐛 fix(users.py): assign the hashed new password to a variable before updating the user's password to ensure consistency
 test(test_user.py): add test to verify if the new password works after resetting it
2023-09-08 14:28:32 -03:00
Gabriel Luiz Freitas Almeida
f95a38a4b5 🐛 fix(crud.py): change HTTP status code from 304 to status.HTTP_304_NOT_MODIFIED for better readability and consistency
 feat(crud.py): add support for updating user profile image in the update_user function
 feat(test_user.py): add test case for updating user profile image in the test_patch_user function
2023-09-08 14:23:19 -03:00
Gabriel Luiz Freitas Almeida
75f03b17f4 🔧 chore(67cc006d50bf_add_profile_image_column.py): refactor upgrade and downgrade functions to check if "user" table exists and if "profile_image" column is already present before adding or dropping the column respectively 2023-09-08 14:19:28 -03:00
Gabriel Luiz Freitas Almeida
071ad8621b 🔧 chore(user.py): add optional profile_image field to UserRead model for improved user profile functionality 2023-09-08 14:13:54 -03:00
Lucas Oliveira
bd44500508 Added gradient chooser and success messages 2023-09-08 13:08:39 -03:00
Lucas Oliveira
b770622603 Added gradient and changed types of patch user 2023-09-08 11:23:57 -03:00
Gabriel Luiz Freitas Almeida
04544b172f 🚀 feat(alembic): add migration to add profile_image column to user table
🔧 chore(user.py): add profile_image field to User model for storing user profile images
2023-09-08 07:36:56 -03:00
Guangya Liu
86cf771d00 Fix lint error 2023-09-07 14:57:37 -04:00
igorrCarvalho
5cae58dead Refactor: Remove blank space when node has no description 2023-09-06 14:44:13 -03:00
Lucas Oliveira
512db102fa Change password implemented, but not working 2023-09-06 14:16:07 -03:00
igorrCarvalho
f44b0e33b1 remove unnused imports 2023-09-05 18:31:30 -03:00
igorrCarvalho
25949b97a7 Fix: user not having icon when id starts with a letter 2023-09-05 18:31:30 -03:00
Gabriel Luiz Freitas Almeida
a7db386277 🐛 fix(users.py): change route paths for user-related endpoints to improve consistency and readability
 feat(users.py): add support for resetting a user's password
🐛 fix(crud.py): fix update_user function to properly handle unchanged attributes and return 304 status code if nothing is updated
🐛 fix(user.py): change field name in UserUpdate model from 'username' to 'password' to reflect the intended functionality
🐛 fix(index.ts): update API routes in frontend controller functions to match the changed user-related endpoint paths
2023-09-05 17:19:11 -03:00
Lucas Oliveira
7e0394a114 Merge branch 'dev' into feature/profilePage 2023-09-05 15:22:01 -03:00
Lucas Oliveira
b6c5fecae2 Fixed message not sending when closing db 2023-09-05 15:20:51 -03:00
Lucas Oliveira
109b9a1172 Added error checking when file is not a JSON 2023-09-05 14:21:47 -03:00
Lucas Oliveira
2c99d2ce70 Implemented flow add when dropping json 2023-09-05 14:14:47 -03:00
Lucas Oliveira
539e508e12 Added style to file drop 2023-09-05 11:52:20 -03:00
Lucas Oliveira
8119d5922b Merge branch 'dev' into feature/profilePage 2023-09-05 11:18:29 -03:00
anovazzi1
0a47163f9b
fix bug on open modals (#865) 2023-09-05 09:50:42 -03:00
Cristhian Zanforlin Lousa
e50b593681 🐛 fix(API/index.ts): handle potential undefined response object properties to prevent errors 2023-09-04 20:18:10 -03:00
anovazzi1
25f7814fea refactor(codeTabsComponent): wrap code tabs in a div with flex column layout for better styling and readability 2023-09-04 19:33:21 -03:00
anovazzi1
8acdd1abff fix animation 2023-09-04 19:29:20 -03:00
anovazzi1
0fe46a3909 revert to default animation of radixUI 2023-09-04 18:48:50 -03:00
Lucas Oliveira
5df8b11d9f Changed autocomplete to only fill when on form 2023-09-04 16:37:43 -03:00
anovazzi1
82368bbe76
Login enhancements (#847)
This pull request introduces a series of enhancements to our recently
revamped login page, streamlining the user experience. These changes
were meticulously designed and developed to ensure a seamless login
process for our users while adhering to the highest standards of
usability and privacy.
2023-09-04 16:20:18 -03:00