Commit Graph

505 Commits

Author SHA1 Message Date
Pierre-antoine Comby 8ab142c122 no need to be static after all 2020-03-24 20:25:08 +01:00
Pierre-antoine Comby d4b8d35206 check permission with PermissionBackend.
taking connection permission mask into account.
2020-03-24 20:19:24 +01:00
Pierre-antoine Comby 33139bdbde Dynamic search of buttons 2020-03-24 00:07:25 +01:00
Pierre-antoine Comby 7cd8a37aec non dynamic search for button 2020-03-23 20:21:25 +01:00
Pierre-antoine Comby 1ce7dc0118 reorganize tabs of nav bar 2020-03-23 15:53:18 +01:00
Pierre-antoine Comby 4e17b50e35 Merge branch 'master' into manage_button 2020-03-23 15:40:01 +01:00
Pierre-antoine Comby 41a0529d0c fixin the merge... 2020-03-23 15:35:24 +01:00
Pierre-antoine Comby bbda99a3ac Merge branch 'master' into manage_button 2020-03-23 15:31:39 +01:00
Pierre-antoine Comby 3cdb3f6d38 Refactor and comment noteView 2020-03-23 15:28:09 +01:00
Pierre-antoine Comby 05d8b3bc69 Merge branch 'tranfer_front' into 'master'
show Note info always on left

See merge request bde/nk20!64
2020-03-22 22:39:50 +01:00
Pierre-antoine Comby 610a4f0b3f show Note info always on left 2020-03-22 22:35:07 +01:00
Pierre-antoine Comby 4533d928da Merge branch 'fix_login' into 'master'
Fix login

See merge request bde/nk20!63
2020-03-22 22:27:59 +01:00
Pierre-antoine Comby da63bd75f1 this is not the place for cas config 2020-03-22 22:22:51 +01:00
Pierre-antoine Comby c295e5cbc7 fix indentation 2020-03-22 22:22:37 +01:00
Pierre-antoine Comby c3bea59f2f update script projects 2020-03-22 22:09:45 +01:00
Yohann D'ANELLO b9fac82d89 Fixtures are more natural 2020-03-22 22:09:41 +01:00
Pierre-antoine Comby c200ae8c3c ask for cas only if available. 2020-03-22 22:01:33 +01:00
Pierre-antoine Comby 8717581e9d Merge branch 'fix_submodule' into 'master'
add submodule

See merge request bde/nk20!62
2020-03-22 15:03:00 +01:00
Pierre-antoine Comby 28e7707bc5 add submodule 2020-03-22 14:57:49 +01:00
Pierre-antoine Comby 3556672ed9 Merge branch 'rights' into 'master'
Système de droits

See merge request bde/nk20!10
2020-03-22 00:04:55 +01:00
Pierre-antoine Comby 6445acedc7 Merge branch 'master' into rights 2020-03-22 00:00:18 +01:00
Pierre-antoine Comby 0ecef74a1c Merge branch 'consos' into 'master'
Page de consommations

Closes #21

See merge request bde/nk20!57
2020-03-21 23:18:24 +01:00
Pierre-antoine Comby c87006e018 Merge branch 'documentation' into 'master'
Documentation logs middleware

See merge request bde/nk20!60
2020-03-21 20:40:33 +01:00
Pierre-antoine Comby 1031912899 Merge branch 'fix_install' into 'master'
Fix install

See merge request bde/nk20!59
2020-03-21 20:38:07 +01:00
Pierre-antoine Comby 8023e2f48c fix CI 2020-03-20 21:01:33 +01:00
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