|
d85def955b
|
Always log an error even if it was a http error
|
2021-07-06 18:05:06 +02:00 |
|
|
26386be9a9
|
Add auth param to all methods
|
2021-01-31 21:10:03 +01:00 |
|
|
588abb7370
|
Close all sessions in a defer
|
2020-12-23 15:34:20 +01:00 |
|
|
a897a6def6
|
Close all sessions after using them
|
2020-12-22 17:12:34 +01:00 |
|
|
6fa2fb5872
|
Add db sessions to all crud methods
|
2020-12-22 15:46:43 +01:00 |
|
|
505d0e77fa
|
Remove unused rights method
|
2020-12-18 14:44:44 +01:00 |
|
|
8767618f18
|
Only set the max right header if the user has any right at all
|
2020-08-09 17:48:28 +02:00 |
|
|
7e12686f28
|
Add rights parameter to let canRead methods return the max right
|
2020-08-09 17:07:10 +02:00 |
|
|
a5f3d450d3
|
Add go 1.14 declaration to go.mod
|
2020-06-18 18:47:49 +02:00 |
|
|
c906493694
|
Add more logging
|
2020-02-08 22:44:21 +01:00 |
|
|
9947104b77
|
Add error logging for invalid model errors
|
2020-01-26 20:07:57 +01:00 |
|
|
f337750c35
|
Added rounding of pages
|
2019-10-23 22:25:26 +02:00 |
|
|
502bbbbd9d
|
Fixed a bug when no per page number was supplied
|
2019-10-23 21:04:15 +02:00 |
|
|
bce8b50520
|
Clarified var name
|
2019-10-23 16:56:56 +02:00 |
|
|
3ee093147b
|
Added calculation of the total number of pages to the web handler
|
2019-10-23 16:44:16 +02:00 |
|
|
8edfc5d33c
|
Added method to set the max number of items per page
|
2019-10-22 21:56:05 +02:00 |
|
|
23a3d14517
|
Changed page int64 to int since its all limit can handle
|
2019-10-22 21:33:55 +02:00 |
|
|
f7834b02a1
|
Fixed lint
|
2019-10-21 23:19:16 +02:00 |
|
|
f79e8c8720
|
Updated docs to reflect readme changes
|
2019-10-21 23:17:09 +02:00 |
|
|
75c50a705f
|
Changed ReadAll method to enable proper pagination
|
2019-10-21 23:04:17 +02:00 |
|
|
b457b5a1a3
|
Added method to the auth interface to get the ID
|
2019-06-28 09:52:53 +02:00 |
|
|
b5c16e24b0
|
Swapped the custom param binder with the merged one from echo
|
2019-06-28 09:10:27 +02:00 |
|
|
cda84c1ddb
|
Updated echo to the latest version
|
2019-06-28 09:04:43 +02:00 |
|
|
97c2f66ff3
|
Fixed link to error handling
|
2019-06-23 18:23:37 +02:00 |
|
|
05d147aab0
|
Updated echo dependency
|
2019-06-23 13:30:32 +02:00 |
|
|
edb39812af
|
Updated echo to v4
|
2019-05-07 21:37:36 +02:00 |
|
|
7dc1f4191c
|
Fixed rights check
|
2019-03-29 18:09:35 +01:00 |
|
|
62b466dd13
|
Refactored CanRead to check the right before reading it
|
2019-03-24 13:30:58 +01:00 |
|
|
0933ac0823
|
Refactored Rights interface to return errors
|
2019-03-24 11:52:29 +01:00 |
|
|
49b95473bb
|
Updated Readme
|
2019-03-24 11:46:46 +01:00 |
|
|
7a7813274c
|
Updated Readme
|
2019-03-24 11:46:20 +01:00 |
|
|
66d64e9e45
|
Updated Readme
|
2019-03-24 09:15:45 +01:00 |
|
|
7bd881d989
|
Removed unused code
|
2019-03-24 09:07:41 +01:00 |
|
|
fcc8b45b7e
|
Init config
|
2019-03-24 09:06:54 +01:00 |
|
|
1ddbccd6c8
|
Removed unused function
|
2019-03-24 08:58:14 +01:00 |
|
|
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 |
|
|
fcaf01fb20
|
Refactored config
|
2019-03-24 08:55:30 +01:00 |
|
|
4e6771ac6c
|
updated todo
|
2019-02-16 12:49:14 +01:00 |
|
|
f5633d9a74
|
Improved docs
|
2019-02-08 01:00:08 +01:00 |
|
|
c30ef60733
|
removed unused import
|
2019-01-23 15:23:49 +01:00 |
|
|
83337a24ac
|
Fixed logging the current user if forbidden
|
2019-01-23 15:21:21 +01:00 |
|
|
b4a943dba1
|
Added helper function to get logger
|
2019-01-23 15:19:02 +01:00 |
|
|
1c90eb2253
|
Added todos
|
2019-01-14 23:35:35 +01:00 |
|
|
b061c20192
|
Added license badge
|
2018-12-01 00:11:48 +01:00 |
|
|
50ffad2e46
|
Added explanation about the binder
|
2018-12-01 00:10:59 +01:00 |
|
|
ec954ac350
|
Added license
|
2018-12-01 00:10:43 +01:00 |
|
|
df05938d24
|
Added go report card
|
2018-12-01 00:02:50 +01:00 |
|
|
0b84be3eb5
|
improved docs
|
2018-12-01 00:01:55 +01:00 |
|
|
2ac2530c38
|
improved docs
|
2018-11-30 23:59:58 +01:00 |
|
|
cce5ff4ff7
|
Added docs
|
2018-11-30 23:45:22 +01:00 |
|