- 24 Apr, 2015 1 commit
-
-
Marc Duez authored
-
- 23 Apr, 2015 1 commit
-
-
Marc Duez authored
-
- 22 Apr, 2015 19 commits
-
-
The result is don't stored, so it is lost. And on a fresh install web2py complains about row that doesn't exist (but why doesn't it complain in a prod environment?)
-
-
-
-
-
-
-
-
Moreover can_view_patient checks if the user is admin. There is no more need to double check that permission
-
-
-
-
It uses anon_names too, now, which is efficient enough.
-
Prefer anon_names, when possible
-
Additionnally the names are recorded in row.names so that we avoid a new call to the function in the template
-
One which directly takes the names in parameters (avoiding DB calls), another taking te patient ID. The former is the recommended when the function is called many times. Additionnally if the last parameter of anon_names is provided no DB call is performed.
-
We preload at startup some permissions that are often queried to avoid DB calls. We also define some functions for the permissions. This avoids calling a generic has_permission functions. Therefore this allows to factor some code (having read access to a patient can be achieved in several ways). This will also make controller code more generic and less specific to web2py's auth module. Moreover we store the information to avoid retrieving it several times (mainly useful for lists).
-
Prevents some troubles with loops that could be infinite.
-
Mathieu Giraud authored
There should be a way to install/configure web2py, without nginx, either for server unit tests or to use something else than nginx.
-
- 21 Apr, 2015 4 commits
-
-
Mikaël Salson authored
-
-
-
Marc Duez authored
-
- 16 Apr, 2015 1 commit
-
-
Vidjil Team authored
-
- 15 Apr, 2015 5 commits
-
-
Marc Duez authored
-
-
-
-
This is now only for the admins, and should be extended to work for any user.
-
- 14 Apr, 2015 5 commits
-
-
Format produced by fuse has changes. Update accordingly the stat module
-
Vidjil Team authored
-
-
Vidjil Team authored
-
-
- 13 Apr, 2015 4 commits
-
-
-
-
Mikaël Salson authored
This avoid to restart the whole server when modifying defs.py
-
Mikaël Salson authored
-