Commit Graph

568 Commits

Author SHA1 Message Date
156122eba4 log useragent on login 2023-07-25 13:55:16 +02:00
9a3636f05f fix testsg 2023-07-25 13:33:12 +02:00
e5f22ae070 more clippy :-) 2023-07-25 13:32:20 +02:00
a7789af713 clean code with clippy 2023-07-25 13:22:11 +02:00
3765541674 even show who's logging in 2023-07-25 11:36:36 +02:00
1436feaffd create logs for login 2023-07-25 11:31:51 +02:00
290e05dc4c add todo 2023-07-24 21:17:51 +02:00
Philipp
2dc70fa629 use function (instead of macro) to work with older sqlite 2023-07-24 21:16:43 +02:00
082fac9789 add stats 2023-07-24 20:56:46 +02:00
c42cd2cd9c allow adding rowers to logbook 2023-07-24 13:01:39 +02:00
c43feb1834 add test 2023-07-24 09:40:28 +02:00
c32c8bb643 move always_show to tripdetails 2023-07-23 19:45:48 +02:00
9fa70b1411 add functionality to finish logbook trips 2023-07-23 16:49:14 +02:00
3259582aab create new tests for /cox/trip/<id> 2023-07-23 14:21:27 +02:00
1d4c5f356d add first draft of logbook 2023-07-23 12:17:57 +02:00
b2f626f906 allow creating all fields for new boats 2023-07-22 16:36:02 +02:00
0381465272 add db constraints; add optional name for login (to be sent to members) 2023-07-22 15:51:20 +02:00
524d1acee2 add full CRUD for boats 2023-07-22 15:34:42 +02:00
c0bb6d51de create create/delete/view function for boats 2023-07-22 13:57:17 +02:00
d712859566 add tests 2023-07-22 12:24:29 +02:00
5a27c5a225 add first tera test 2023-07-21 10:26:50 +02:00
968c68e12b clean code w/ clippy 2023-07-18 17:32:34 +02:00
054efc99e3 add example code; updated deploy script 2023-07-16 20:54:11 +02:00
e6d7f15cd8 add rest login 2023-07-16 20:44:27 +02:00
eb4c4bb558 be able to use both tera and svelte 2023-07-16 20:07:38 +02:00
2f6464ff84 separate rest from tera 2023-07-16 19:16:42 +02:00
a3b3b03c8b push 2023-07-16 19:10:22 +02:00
2375dd91de rename folder 2023-07-16 18:42:59 +02:00
bc63f9cc41 enable svelte build 2023-07-16 18:34:30 +02:00
cf6db88b25 segrete rest from tera 2023-07-16 18:33:17 +02:00
4ad6caa26c trim string 2023-07-11 14:37:48 +02:00
a0afce344f add debug log for auth 2023-07-11 09:16:13 +02:00
59ab01d36b add contact options on failed login 2023-07-10 17:17:17 +02:00
0fbdcc084e rename subfolder 2023-06-28 14:06:28 +02:00
52f1c3c026 push 2023-06-08 17:23:23 +02:00
47920305c4 allow updating pinning an planned_trip 2023-06-08 11:28:25 +02:00
87ed710f66 add is_pinned functionality 2023-06-08 10:57:42 +02:00
d7417804a0 renew cookies on every action; increase cookie timeout to 3 months 2023-06-07 00:07:11 +02:00
2420b69d43 fix tests 2023-06-06 12:26:48 +02:00
2159802cca remove unused import 2023-06-06 10:09:48 +02:00
eccf224a40 order names by last access 2023-06-06 10:08:54 +02:00
ca93bc93c2 push 2023-06-05 14:56:15 +02:00
030fcd1c6f push 2023-06-05 14:50:01 +02:00
e8e84e8d37 push 2023-06-05 14:43:31 +02:00
5230762190 push 2023-06-05 14:25:23 +02:00
7614cab806 set content type 2023-06-05 14:15:17 +02:00
b6057f066d push 2023-06-05 14:07:46 +02:00
a72e19d8e1 push 2023-06-05 14:01:55 +02:00
51b0ba8cf4 fix ics 2023-06-05 13:29:55 +02:00
f64128e0b1 Use crlf 2023-06-05 13:27:08 +02:00
2530d6343d add dtstamp 2023-06-05 13:21:41 +02:00
b237ff3850 add timezone information in ics feed 2023-06-05 13:18:40 +02:00
bae288cb43 clean code with clippy 2023-05-30 14:47:44 +02:00
9c30cda326 clean code with clippy 2023-05-30 14:36:23 +02:00
14fd04a467 move rss key to config file 2023-05-30 14:12:08 +02:00
273239ef34 add nice name of calendar 2023-05-28 20:05:51 +02:00
d688faf579 name calendar 2023-05-24 15:44:43 +02:00
05b65b2f67 restructre 2023-05-24 15:36:38 +02:00
9dc43d2d32 fix typo 2023-05-24 15:23:19 +02:00
17599ee296 use correct time zone 2023-05-24 15:20:04 +02:00
3d801121e7 push 2023-05-24 15:16:53 +02:00
91512ecdfc use proper date format 2023-05-24 15:14:26 +02:00
aa2d5bc7dd add first draft of cal 2023-05-24 15:09:38 +02:00
478ce329e3 Push 2023-05-24 13:11:47 +02:00
c91db80ce5 no more clones! 2023-05-24 12:18:14 +02:00
1c74d11e96 fix clones() 2023-05-24 12:16:13 +02:00
99296d4060 fix many clones() 2023-05-24 12:11:55 +02:00
cf45036642 clean rss string 2023-05-24 09:39:49 +02:00
abf720ed36 push 2023-05-24 09:36:48 +02:00
e9d0ffd189 try sth 2023-05-24 09:31:18 +02:00
26f1ad785e fix feed 2023-05-24 09:21:22 +02:00
33aeb28140 properly close rss feed 2023-05-24 09:11:34 +02:00
1ff5fb9a43 fix 2023-05-24 09:07:20 +02:00
bfdc815a36 remove rss dep 2023-05-24 09:05:07 +02:00
968ab00cc0 show last access time 2023-05-10 09:04:09 +02:00
8c38a2faf6 add last_access column for user table 2023-05-10 08:57:20 +02:00
3ae07b3815 Merge branch 'main' of gitlab.com:PhilippHofer/rot 2023-05-03 23:01:28 +02:00
db674573ea fix unused import 2023-05-03 23:01:19 +02:00
8effe700d0 Merge branch 'faq' into 'main'
Faq

See merge request PhilippHofer/rot!9
2023-05-03 20:59:24 +00:00
c89a199a33 use proper field 2023-05-03 22:54:10 +02:00
9f7fa6b8c4 add edit option of planned_events 2023-05-03 22:40:22 +02:00
2fd5b65994 fix tests and add new one 2023-05-03 16:53:36 +02:00
787b28cc23 allow trip_type edit of trip 2023-05-03 16:51:37 +02:00
c9932b550b add faq route 2023-05-03 16:31:27 +02:00
3f01bf39b3 deduplicate code 2023-05-03 16:06:27 +02:00
0b34b776ac remove unwrap :-) 2023-05-03 15:59:28 +02:00
e5088bddb0 Push 2023-05-03 14:39:53 +02:00
913d0ac78e push 2023-05-03 13:32:23 +02:00
bb4dba7bc9 only allow guests to register for specific events; don't even show them the other trips 2023-04-29 18:57:01 +02:00
3d5ad30904 send triptype to frontend 2023-04-28 21:19:51 +02:00
bd5a28b342 send triptype to frontend 2023-04-28 21:19:30 +02:00
253018580a send flash msg to /admin view 2023-04-28 19:59:07 +02:00
734bbd434e fix bug 2023-04-28 19:43:59 +02:00
055c330a3e allow 'deletion' of user 2023-04-28 19:29:20 +02:00
0ff64c5c9e finish tests 2023-04-28 19:08:17 +02:00
4d532e5846 add final tests for trip.rs 2023-04-28 18:18:00 +02:00
38732df6c8 add test; fix bug 2023-04-28 18:08:01 +02:00
ef921314d2 clean function 2023-04-26 17:02:47 +02:00
346a9b1d91 add unit tests 2023-04-26 16:54:53 +02:00
9236113507 clean code with clippy 2023-04-26 12:52:19 +02:00
a49de71a5d even more tests! 2023-04-26 12:21:30 +02:00
1e92b166c7 add tests for trip_details 2023-04-26 11:31:02 +02:00
7a2639bbb1 remove unused users 2023-04-26 11:25:29 +02:00
153d7f84e1 add tests for usre 2023-04-26 11:22:22 +02:00
daf8afd731 clean code with clippy 2023-04-24 14:34:06 +02:00
a3ac83228c add rss feed with common actions 2023-04-18 12:10:11 +02:00
2d1710251c demote sqlx log to debug 2023-04-13 08:15:55 +02:00
87a956369e skip rest test for now; error bc CI can't find /static folder 2023-04-10 15:24:54 +02:00
c11ed8abc4 fix ci 2023-04-10 15:15:16 +02:00
311153d96b fix ci 2023-04-10 15:01:43 +02:00
54211c72a9 add rest test 2023-04-10 14:39:41 +02:00
494ec31c8d use proper result for finding user 2023-04-10 14:25:31 +02:00
769bc7f177 show 6 (instead of 7) days for normal user 2023-04-07 12:06:04 +02:00
0b961ca1b8 merge 2023-04-07 11:58:00 +02:00
1d03dd59b2 allow cox to edit own trips 2023-04-07 11:54:56 +02:00
3f9d5bb4c7 allow trip to be deleted if noone has registered yet 2023-04-07 11:16:39 +02:00
c59a2c3a29 show last day of year 2023-04-07 10:10:54 +02:00
4d49574ebb add cox_needed attribute 2023-04-06 20:08:58 +02:00
f034a780a2 send loggedin_user in /admin/user 2023-04-06 18:57:10 +02:00
194577f9bd check if already cox on planned events 2023-04-06 18:48:18 +02:00
82c4680684 restructure code 2023-04-06 08:06:50 +02:00
2ede4af500 sort user by name 2023-04-05 22:09:24 +02:00
92040e7eac move todo to proper location 2023-04-05 22:04:05 +02:00
8f05d1bdf4 don't allow to join as user if already cox 2023-04-05 22:01:50 +02:00
9ab1572b15 don't allow cox to help if cox is already registered as rower for event 2023-04-05 21:49:48 +02:00
f609ee1cb4 allow admin to create user 2023-04-05 20:56:36 +02:00
0789095704 add fileserver 2023-04-05 19:24:02 +02:00
f7c7f9aaf8 show registration time for rowers 2023-04-05 17:25:22 +02:00
da31c36c70 clean code with clippy 2023-04-04 19:49:27 +02:00
21b87f9471 cox always see full year 2023-04-04 15:42:26 +02:00
476c4db255 allow to show full year 2023-04-04 15:38:47 +02:00
cedaba5709 push 2023-04-04 15:16:21 +02:00
0bdd073d7f fix bug 2023-04-04 12:23:41 +02:00
3d907487a1 add planned_trip functionality 2023-04-04 12:19:56 +02:00
3dfc64071c finish admin tasks 2023-04-04 10:44:14 +02:00
303624ab83 show name of loggedin_user; add logout functionality 2023-04-03 22:10:12 +02:00
387d93bbaf add tests; add authentication cookie 2023-04-03 22:03:45 +02:00
79f22b9217 clean code with clippy 2023-04-03 17:32:41 +02:00
ff73accb52 craete login tests 2023-04-03 17:21:34 +02:00
d50f3d9746 start working on auth 2023-04-03 16:11:26 +02:00
3dbfadb00e don't focus on tests for now 2023-03-27 11:46:47 +02:00
546381511e push 2023-03-26 16:58:45 +02:00
bb8fb03b61 add user table 2023-03-26 14:40:56 +02:00
f01b073654 clean repo 2023-03-26 13:59:48 +02:00
22dfd76467 always use your own name for registrations; except if the user has the add_different_user permission 2023-03-23 11:16:00 +01:00
cde862f97f always use your own name for registrations; except if the user has the add_different_user permission 2023-03-23 11:13:19 +01:00
de35247c76 improve code with clippy 2023-03-23 10:26:18 +01:00
Philipp
31258bdf15 allow cox to create events on no open days 2023-03-14 19:31:40 +01:00
747698b72d fix 2023-03-14 17:09:12 +01:00
38d8197a48 don't allow registration for own events 2023-03-14 17:05:20 +01:00
48c9a481cc push 2023-03-14 16:49:32 +01:00
c79a342ce8 push 2023-03-14 14:00:53 +01:00
13f86e5383 improve message 2023-03-12 13:48:03 +01:00
9e31652f47 clean code with clippy 2023-03-04 13:48:09 +01:00
ff36557a60 switch to datetime (instead of string) + show proper timezone 2023-03-04 13:36:36 +01:00
ff30d1894a remove debug statement 2023-03-04 13:33:01 +01:00
6ea1585d7c proper error message if already registered 2023-03-04 12:10:44 +01:00
23f3c142c1 add logging 2023-03-04 11:20:12 +01:00
edf59251d0 allow deleting registrations 2023-02-16 13:47:51 +01:00
306ae13467 add flash 2023-02-16 11:59:01 +01:00
6e54b29288 final touches 2023-02-16 11:26:41 +01:00
a95445c53c push 2023-02-09 17:29:29 +01:00
432962f5a9 push 2023-02-09 17:08:07 +01:00
9a72413934 Push 2023-02-09 15:29:44 +01:00
03dcfc6255 push 2023-02-09 13:19:00 +01:00
5200150828 push 2023-02-09 12:16:04 +01:00
1934fef0dd finish day CRU 2023-02-08 22:02:17 +01:00
9fd0481f73 initial push 2023-02-08 16:25:06 +01:00