1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-30 04:13:01 +00:00
Commit Graph

1331 Commits

Author SHA1 Message Date
Pierre-antoine Comby
93c583f5c6 remove api deps, moved to base 2020-03-20 20:51:15 +01:00
Pierre-antoine Comby
9786a2250e config requirements 2020-03-20 20:46:44 +01:00
Pierre-antoine Comby
e5cc16569d api is a base requirement 2020-03-20 20:44:34 +01:00
Pierre-antoine Comby
fa5334a741 use the OPTIONALS_APPS from secrets.py 2020-03-20 20:40:26 +01:00
Yohann D'ANELLO
e2d2d2cc99 Anonymous users have no right 2020-03-20 18:23:20 +01:00
Yohann D'ANELLO
d494a3e7fa Quality assurance 2020-03-20 18:13:34 +01:00
Yohann D'ANELLO
93bd8489df Amounts are in cents... 2020-03-20 18:02:12 +01:00
Yohann D'ANELLO
24ea4c0a52 Comment code 2020-03-20 15:58:14 +01:00
Yohann D'ANELLO
091c427707 Restructurate code 2020-03-20 14:43:35 +01:00
Yohann D'ANELLO
02817c5626 Fix CI 2020-03-20 02:20:13 +01:00
Yohann D'ANELLO
3f2b21f7f4 Fix CI 2020-03-20 02:14:43 +01:00
Yohann D'ANELLO
0ce6cd88b3 More optimisation 2020-03-20 02:05:41 +01:00
Yohann D'ANELLO
6fc43e651e More optimisation 2020-03-20 01:46:59 +01:00
Yohann D'ANELLO
f80cb635d3 Optimize permissions, full support add perms, more fixtures 2020-03-20 00:06:28 +01:00
Yohann D'ANELLO
c653e0986e Remove UserPermission model 2020-03-19 20:39:19 +01:00
Yohann D'ANELLO
801f948a7d Rename TemplateTransaction into RecurrentTransaction 2020-03-19 20:37:48 +01:00
Yohann D'ANELLO
74c0fcca83 Notes are read-only in the API, but can be modified with scripts (ie. transactions) 2020-03-19 19:29:52 +01:00
Yohann D'ANELLO
7794210cc8 Being superuser is not enough (must have the correct mask), add some initial fixtures 2020-03-19 18:53:06 +01:00
Yohann D'ANELLO
022997f923 Add unique tags on permission masks 2020-03-19 16:27:25 +01:00
Yohann D'ANELLO
95315cdbe2 Implements permission masks 2020-03-19 16:12:52 +01:00
Yohann D'ANELLO
d083894e9b Fix note display for users that don't have enough rights 2020-03-19 14:25:43 +01:00
Yohann D'ANELLO
7a4f929b36 Credit and debit buttons are hidden when there is no right to see special notes 2020-03-19 02:31:53 +01:00
Yohann D'ANELLO
730d37c620 Protect views from viewing if the user has no right to view an object 2020-03-19 02:26:06 +01:00
Yohann D'ANELLO
e461d70b14 Improve add permissions 2020-03-18 15:49:52 +01:00
Yohann D'ANELLO
057f42fdb6 Handle permissions (and it seems working!) 2020-03-18 14:42:35 +01:00
Yohann D'ANELLO
112d4b6c5a Merge branch 'consos' into rights
# Conflicts:
#	apps/logs/signals.py
#	note_kfet/settings/base.py
2020-03-17 21:11:14 +01:00
Yohann D'ANELLO
6c002aacaa JS from transfer page is now externalized 2020-03-17 18:47:16 +01:00
Yohann D'ANELLO
e8ad906f9c Human-readable amounts 2020-03-17 18:31:26 +01:00
Yohann D'ANELLO
4909a7f09c Transaction types are now properties 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
7313e5a337 Fix minor front bugs 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
dac14b13df Alerts are dismissible 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
f1210d116c Display balance and profile pic on transfer page 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
7b98244360 Add transaction type field 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
a1f37f0eea Validation/devalidation of a transaction on profile page 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
da12733508 Replace arrays with objects 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
c42a7745bc Add most used buttons 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
ad66380e1b Update translations 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
717891869d Auto-complete first and last name for credits and debits 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
040bb27528 Credit/debit support 2020-03-17 17:48:55 +01:00
Benjamin Graillot
321927ba1e [note] tranfert --> transfer 2020-03-17 17:48:55 +01:00
Benjamin Graillot
49952355e6 [note] Added type property to transactions 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
5d15b8c613 Fix (de)validation of transactions 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
05fb50965b Balance is refreshed after a (de)validation 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
cc5185b3ed (Un)validate transactions 2020-03-17 17:48:55 +01:00
Yohann D'ANELLO
c43e8c2dc2 Fix transfers 2020-03-17 17:42:54 +01:00
Yohann D'ANELLO
8a4baa1960 Fix empty patterns 2020-03-17 17:25:32 +01:00
Yohann D'ANELLO
6747f4340d Enter key clicks on the first alias 2020-03-13 12:21:33 +01:00
Yohann D'ANELLO
1e6891e1c7 Aliases are now asynchronously queried 2020-03-13 12:21:16 +01:00
Yohann D'ANELLO
a1f7f8f5b7 Fixed alias research 2020-03-13 10:34:47 +01:00
Yohann D'ANELLO
8c795c38dc Minor fixes on consumptions page, research is now faster 2020-03-13 10:29:27 +01:00