kolaente
|
d85def955b
|
Always log an error even if it was a http error
|
2021-07-06 18:05:06 +02:00 |
kolaente
|
26386be9a9
|
Add auth param to all methods
|
2021-01-31 21:10:03 +01:00 |
kolaente
|
588abb7370
|
Close all sessions in a defer
|
2020-12-23 15:34:20 +01:00 |
kolaente
|
a897a6def6
|
Close all sessions after using them
|
2020-12-22 17:12:34 +01:00 |
kolaente
|
6fa2fb5872
|
Add db sessions to all crud methods
|
2020-12-22 15:46:43 +01:00 |
kolaente
|
8767618f18
|
Only set the max right header if the user has any right at all
|
2020-08-09 17:48:28 +02:00 |
kolaente
|
7e12686f28
|
Add rights parameter to let canRead methods return the max right
|
2020-08-09 17:07:10 +02:00 |
kolaente
|
c906493694
|
Add more logging
|
2020-02-08 22:44:21 +01:00 |
kolaente
|
9947104b77
|
Add error logging for invalid model errors
|
2020-01-26 20:07:57 +01:00 |
kolaente
|
f337750c35
|
Added rounding of pages
|
2019-10-23 22:25:26 +02:00 |
kolaente
|
502bbbbd9d
|
Fixed a bug when no per page number was supplied
|
2019-10-23 21:04:15 +02:00 |
kolaente
|
3ee093147b
|
Added calculation of the total number of pages to the web handler
|
2019-10-23 16:44:16 +02:00 |
kolaente
|
8edfc5d33c
|
Added method to set the max number of items per page
|
2019-10-22 21:56:05 +02:00 |
kolaente
|
23a3d14517
|
Changed page int64 to int since its all limit can handle
|
2019-10-22 21:33:55 +02:00 |
kolaente
|
f7834b02a1
|
Fixed lint
|
2019-10-21 23:19:16 +02:00 |
kolaente
|
75c50a705f
|
Changed ReadAll method to enable proper pagination
|
2019-10-21 23:04:17 +02:00 |
kolaente
|
b5c16e24b0
|
Swapped the custom param binder with the merged one from echo
|
2019-06-28 09:10:27 +02:00 |
konrad
|
edb39812af
|
Updated echo to v4
|
2019-05-07 21:37:36 +02:00 |
kolaente
|
7dc1f4191c
|
Fixed rights check
|
2019-03-29 18:09:35 +01:00 |
konrad
|
62b466dd13
|
Refactored CanRead to check the right before reading it
|
2019-03-24 13:30:58 +01:00 |
konrad
|
0933ac0823
|
Refactored Rights interface to return errors
|
2019-03-24 11:52:29 +01:00 |
konrad
|
7bd881d989
|
Removed unused code
|
2019-03-24 09:07:41 +01:00 |
konrad
|
fcc8b45b7e
|
Init config
|
2019-03-24 09:06:54 +01:00 |
konrad
|
1ddbccd6c8
|
Removed unused function
|
2019-03-24 08:58:14 +01:00 |
konrad
|
e1854c265e
|
Merge remote-tracking branch 'origin/master'
# Conflicts:
# handler/create.go
# handler/delete.go
# handler/helper.go
# handler/read_all.go
# handler/read_one.go
# handler/update.go
|
2019-03-24 08:57:58 +01:00 |
konrad
|
fcaf01fb20
|
Refactored config
|
2019-03-24 08:55:30 +01:00 |
kolaente
|
c30ef60733
|
removed unused import
|
2019-01-23 15:23:49 +01:00 |
kolaente
|
83337a24ac
|
Fixed logging the current user if forbidden
|
2019-01-23 15:21:21 +01:00 |
kolaente
|
b4a943dba1
|
Added helper function to get logger
|
2019-01-23 15:19:02 +01:00 |
konrad
|
ec954ac350
|
Added license
|
2018-12-01 00:10:43 +01:00 |
konrad
|
8bf729ca52
|
updated path
|
2018-11-30 23:16:30 +01:00 |
konrad
|
4c49b0fe6d
|
initial commit
|
2018-11-30 22:36:20 +01:00 |