ShootingStar91
59441f0e1b
Fix static built docker
2024-07-18 20:37:28 +03:00
ShootingStar91
aec46a98ef
Fix first login and password changing logic
2024-07-18 20:37:16 +03:00
ShootingStar91
47555ec604
Add md5-package
2024-07-18 11:53:32 +03:00
ShootingStar91
37b6a7bced
Update Login-page styles
2024-07-18 11:53:15 +03:00
ShootingStar91
b192444dcb
Update anon env
2024-07-18 11:52:55 +03:00
ShootingStar91
b2e33d7c45
Add logic for first login and change pw prompt
...
Hashes don't match; need fixing
2024-07-17 23:56:59 +03:00
ShootingStar91
1ae8578108
Login expiration improved: It will be refreshed if possible, and if not, user is logged out and redirected to login page.
...
Added an environment variable for the grace period.
2024-07-17 22:15:38 +03:00
ShootingStar91
e71798f55e
Fix navigation causing re-render loop in locality details
2024-07-17 21:26:50 +03:00
ShootingStar91
8cacd2e26d
Remove dev-env template and update main template
2024-07-17 11:04:53 +03:00
ShootingStar91
ea2ccb5b7e
Skip fetching time unit if creating new
2024-07-16 23:09:38 +03:00
ShootingStar91
b3e58007d2
Implement calculated crown-values
2024-07-16 23:09:16 +03:00
ShootingStar91
711e13d9b9
Update and document .env.template with comments
2024-07-16 18:25:04 +03:00
ShootingStar91
e2f0117502
Update env template file
2024-07-16 18:11:59 +03:00
ShootingStar91
2a14945ecf
Make tabs scrollable if they don't fit screen
2024-07-16 18:07:29 +03:00
ShootingStar91
3d5866caee
Fix table re-render loop
2024-07-16 16:52:58 +03:00
ShootingStar91
dc5e6442ee
Add calculation of mean hypsodonty
2024-07-16 16:44:40 +03:00
ShootingStar91
bccf9b996e
Return state handling in url to table view, was broken much earlier
2024-07-16 15:31:17 +03:00
ShootingStar91
7e70334c8e
Fix export: Uses shown values of table, objects don't cause trouble anymore
2024-07-16 15:15:57 +03:00
ShootingStar91
352544be13
Don't send unused fields with time unit table request
2024-07-16 15:14:58 +03:00
ShootingStar91
3469acee7f
Change password: Add check of old password, add validation
2024-07-16 13:46:26 +03:00
ShootingStar91
cf9f955892
Add user right checks to some detail routes
2024-07-16 13:20:16 +03:00
ShootingStar91
2e656207d7
Remove unnecessary noRights export object
2024-07-16 12:22:53 +03:00
ShootingStar91
5cf69cf604
Change import order
2024-07-16 12:22:27 +03:00
ShootingStar91
f383432386
Rename change password form
2024-07-16 12:10:29 +03:00
ShootingStar91
c6389eb534
Write password hash instead of password in password-changing route
2024-07-16 12:10:09 +03:00
ShootingStar91
442b770003
Add changing password form which missed from earlier commit. Sends mutation, lacks notification
2024-07-16 12:09:33 +03:00
ShootingStar91
e8cab09ff7
Edit restricted may only create new references
2024-07-16 11:58:47 +03:00
ShootingStar91
1aa283d2a5
Remove unused imports
2024-07-16 11:31:08 +03:00
ShootingStar91
f2a9a11a4a
Add change password mutation to frontend
2024-07-16 11:30:15 +03:00
ShootingStar91
90e3ee78df
Add route for changing password, lacking validation still
2024-07-16 11:29:34 +03:00
ShootingStar91
85dbc21d60
Add password changing form to frontend, no route yet
2024-07-16 10:51:15 +03:00
ShootingStar91
93c6693440
Use common date format function for last login date in table and detailview
2024-07-16 10:46:01 +03:00
ShootingStar91
3873472479
Return locality id on writing new & redirect to it after success
2024-07-16 10:06:56 +03:00
ShootingStar91
7ad8ea768b
Add enable write env to frontend and rename envs common to front and back with VITE_, so that same env works for both
2024-07-16 10:05:37 +03:00
ShootingStar91
d1b52f8bf1
Hide edit buttons in frontend based on user rights or lacking env variable
2024-07-16 00:27:03 +03:00
ShootingStar91
568c70e434
Don't show tab selectors if there is only one tab
2024-07-15 22:58:39 +03:00
ShootingStar91
fa6ea16d67
Set associated localities in frontend state
2024-07-15 21:31:18 +03:00
ShootingStar91
7186004cc2
Login route: Send associated locality ids on login
2024-07-15 21:29:09 +03:00
ShootingStar91
6612c3ab03
Anon-db dump: Fix special letters that broke earlier
2024-07-15 00:23:25 +03:00
ShootingStar91
3030e0faf0
Add comment about polling
2024-07-15 00:17:35 +03:00
ShootingStar91
810f9fb61d
Reorder pages.tsx and add comment about user rights
2024-07-15 00:17:25 +03:00
ShootingStar91
955fbf46cf
Add cypress downloads to gitignore
2024-07-14 23:38:25 +03:00
ShootingStar91
accbf4f28c
Change anon db to set newpassword instead of old password for the test users
2024-07-14 23:33:36 +03:00
ShootingStar91
83ce5acc3b
Fix floats changing unnecessarily for displaying, only round when length of decimals is greater than 2
2024-07-14 23:32:54 +03:00
ShootingStar91
c98c414769
Add environment variable that enables write operations, default is disabled unless in dev
2024-07-14 23:30:58 +03:00
ShootingStar91
f107dd2adf
Send 404 for individual resources that are not found
2024-07-14 23:27:55 +03:00
ShootingStar91
127afb8103
Remove unused npm packages
2024-07-14 21:39:27 +03:00
ShootingStar91
163ea33a69
Add test draft-localities when in dev mode, and relation between testPl and one of the drafts
2024-07-13 19:47:17 +03:00
ShootingStar91
7423fe261f
Add user right check to locality details also
2024-07-13 19:46:37 +03:00
ShootingStar91
efe40362f8
Add background color to reference cards in update tab
2024-07-13 16:37:55 +03:00
ShootingStar91
d03f3ae07a
Return test isolation
2024-07-13 16:36:25 +03:00
ShootingStar91
e9188838a9
Remove unnecessary cypress directories from repo and add to gitignore
2024-07-13 16:06:36 +03:00
ShootingStar91
c5e3e00761
Add tests to check if staging mode exists only where it should
2024-07-13 16:05:10 +03:00
ShootingStar91
9ccf9b1279
Disable staging mode from the data types that don't need it
2024-07-13 15:36:46 +03:00
ShootingStar91
ae1a8ad036
Remove console.log
2024-07-13 15:35:57 +03:00
ShootingStar91
0dcf43226c
Fix species synonyms not being sent correctly after updating schema
...
The schema had been updated by hand to allow for the query. However because this mixes things up when it is done by running 'db pull', I did the query by adding another query and connecting it. The db apparently lacks this relation
2024-07-13 15:35:40 +03:00
ShootingStar91
6ddbc08191
Use newpassword
2024-07-13 00:41:13 +03:00
ShootingStar91
77338cfb4d
Add explanation of generating prisma client after db changes
2024-07-13 00:40:52 +03:00
ShootingStar91
42fb54bdf2
Add explanation of updating db schema
2024-07-13 00:21:33 +03:00
ShootingStar91
831091e223
Update schema for newpassword, update anon dump to reflect changes
2024-07-13 00:15:33 +03:00
ShootingStar91
5df2bbc02d
Use persondetails for userpage instead of own component
...
Still requires removing staging mode from this and other data types; also write not supported yet.
2024-07-12 23:29:39 +03:00
ShootingStar91
97c4d99f14
Fix env files
2024-07-12 18:36:22 +03:00
ShootingStar91
ebaefa02a0
Format last login date in person tab
2024-07-12 17:30:44 +03:00
ShootingStar91
6883dc6b3d
Remove obsolete user tab from persondetails, this is shown in same tab now
2024-07-12 16:53:52 +03:00
ShootingStar91
304329bb6c
Write date to last login
2024-07-12 16:53:34 +03:00
ShootingStar91
2eac075ffc
Remove more deprecated user routes
2024-07-12 16:50:01 +03:00
ShootingStar91
e1e01501d3
Make initial version of userpage; remove deprecated user routes, services and api calls (replaced by person queries)
2024-07-12 16:48:21 +03:00
ShootingStar91
a10bf9f7fe
Fix test that broke after citation text changed
2024-07-12 15:01:43 +03:00
ShootingStar91
936c9cfbae
Try to fix tests after navbar labels were changed
2024-07-12 14:04:57 +03:00
ShootingStar91
38a08282ba
Disable sorting from editableTable
2024-07-12 14:03:26 +03:00
ShootingStar91
08f76a9ccf
Set unique identifier default value
2024-07-12 13:52:37 +03:00
ShootingStar91
78f56b5151
Load selecting table data only when in editing mode
2024-07-12 13:39:19 +03:00
ShootingStar91
064ee65517
Change navbar links to plural form
2024-07-12 13:00:05 +03:00
ShootingStar91
4205cbc9be
Add different reference citation texts
2024-07-12 12:59:02 +03:00
ShootingStar91
b683ab01eb
Fix placeholder authorizer in loc write
2024-07-12 10:47:59 +03:00
ShootingStar91
9b800dc705
Keep tab when browsing detail entries
2024-07-11 21:57:51 +03:00
ShootingStar91
f0f2e87c45
Improve login form to work with enter via html form
2024-07-11 21:15:25 +03:00
ShootingStar91
c8bee131a8
Adjust debug log of write depending on env
2024-07-11 21:08:53 +03:00
ShootingStar91
36df47e974
Fix prefix of creating update entry
2024-07-11 21:07:18 +03:00
ShootingStar91
e58b47f143
Fix validations causing error in locality route
2024-07-11 21:06:45 +03:00
ShootingStar91
2fee1a6874
Fix staging & save button texts
2024-07-10 20:40:21 +03:00
ShootingStar91
4552d5c638
Add titles to table views
2024-07-10 20:17:00 +03:00
ShootingStar91
8ac68974ce
Don't show pagination on bottom when in selecting table
2024-07-10 20:16:47 +03:00
ShootingStar91
3548c773ee
Add tests and commands
2024-07-10 19:50:17 +03:00
ShootingStar91
a94deb21b8
Make login a custom command
2024-07-10 19:11:50 +03:00
ShootingStar91
9f4e95028e
tests: Use the baseurl properly
2024-07-10 19:01:45 +03:00
ShootingStar91
1a834d7a4a
Rename spec and move baseUrl to config
2024-07-10 18:59:27 +03:00
ShootingStar91
491ee10cb4
Fix anon docker again
2024-07-10 18:59:00 +03:00
ShootingStar91
97ec438082
Change name for anon containers
2024-07-10 18:01:34 +03:00
ShootingStar91
843afecfb4
Revert "Revert "Revert "Fix anon docker-compose"""
...
This reverts commit 3071dcde4e .
2024-07-10 18:00:31 +03:00
ShootingStar91
f5a8cadd18
Dont show table new/delete buttons in selecting table
2024-07-10 17:58:28 +03:00
ShootingStar91
f5d92b3a76
Make default table pagination in modal smaller
2024-07-10 17:57:59 +03:00
ShootingStar91
6143c808e1
Adjust modal styles: make it taller always
2024-07-10 17:57:39 +03:00
ShootingStar91
4a9708e011
Add space to table buttons
2024-07-10 17:48:30 +03:00
ShootingStar91
9df0d82ec8
Fix merge conflict
2024-07-10 17:46:07 +03:00
ShootingStar91
11eea36676
Adjust envs and show different text on frontend in prod/dev/staging
2024-07-10 17:45:16 +03:00
arttu
30ec027e26
Minor layout changes; detailview background color & tableview button styles
2024-07-10 17:44:21 +03:00
ShootingStar91
2e75a463e3
Try fix gha
2024-07-10 16:16:35 +03:00
ShootingStar91
536bd02722
New fix to dockerfile to try and fix gha test
2024-07-10 16:01:10 +03:00
ShootingStar91
3071dcde4e
Revert "Revert "Fix anon docker-compose""
...
This reverts commit 567ddc4301 .
2024-07-10 16:00:23 +03:00