1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-02 04:20:55 +01:00
Commit graph

262 commits

Author SHA1 Message Date
Yann
5981bdc0e5 Various bugfix in LodelContext integration
- Replaced some "hidden" import with LodelContext.expose_modules calls
 - in some functions of Setting, Plugin, validator
 - in loader.py (temporary version)

In this state the tests runs (151 success), I'm able to run an instance (from debian package using slim) in MONOSITE mode and in MULTISITE mode by creating and loading a context in the loader.
2016-11-03 10:58:38 +01:00
Yann
c3137b658f Replaced imports by LodelContext.expose_modules() calls
Theorically all of those imports were tested by unit testing, but we've got no inssurance about that.
And even if unit tests had check for syntax errors, all pieces of code were not tested. We cannot
be sure that an import was missed or forgotten...
2016-11-02 17:03:22 +01:00
prieto
d0f52641b3 In operator with cast of right type 2016-10-06 16:51:46 +02:00
prieto
b79a82e9f0 detailed object listing 2016-10-06 15:44:03 +02:00
Roland Haroutiounian
bb60b09d66 Added the conversion between a string and a list for the "in"/"not in" operators 2016-10-06 15:39:45 +02:00
Yann
0b60a24582 Bugfixes on back reference handling for singleRef solves #154 2016-09-30 17:26:30 +02:00
prieto
c04fe41b80 Objects detailed 2016-09-30 17:14:51 +02:00
prieto
c451dc188e Merge branch 'master' of git.labocleo.org:lodel2 2016-09-30 17:13:05 +02:00
Yann
740d0c1167 Bugfixes on backreference handling 2016-09-30 14:15:47 +02:00
Yann
1c716173be Quick & dirty readonly input removal
Removed useless readonly property on some fields
2016-09-30 14:14:44 +02:00
Yann
14ec5a0b66 solves #153
Add master = true to uwsgi.ini
2016-09-30 14:03:01 +02:00
Yann
44f39356eb Removed target="_blank" on links 2016-09-30 14:03:01 +02:00
prieto
7c096073c0 Display detailed of an object 2016-09-30 13:05:33 +02:00
Roland Haroutiounian
2830502b0d Added a TODO in the search controller 2016-09-30 12:22:34 +02:00
Roland Haroutiounian
97418cbeaa Added a template for a search page 2016-09-30 12:22:34 +02:00
Yann
1d2749392f bugfix in base template 2016-09-30 12:07:22 +02:00
Yann
4d361423ff Bugfixes in webui update handling 2016-09-30 11:59:01 +02:00
Yann
6f8c2d3173 Generic error template enhancement
Add the custom message provided by HttpException to the template
2016-09-30 11:58:00 +02:00
Yann
df45f318d4 Bugfixe in MongoDb datasource
Pymongo do not handles sets as value. We have to cast them into lists
done only in update for the moment...
2016-09-30 11:57:11 +02:00
prieto
35f543074b Bugfixes 2016-09-30 09:09:44 +02:00
prieto
28d823986e Static url to templates 2016-09-29 13:36:33 +02:00
prieto
09511f3b5f Static url to templates 2016-09-29 13:24:30 +02:00
prieto
910b078ed6 Last changes 2016-09-29 11:00:15 +02:00
prieto
0be025f003 Bugfixes 2016-09-29 09:56:21 +02:00
prieto
e4214a1705 Bugfixes 2016-09-29 09:43:48 +02:00
prieto
43bf90d1ca Bugfixes 2016-09-29 09:18:38 +02:00
prieto
f9000bbc83 Bugfixes 2016-09-28 17:28:39 +02:00
prieto
503f683b4f Bugfixes en create_datas scripts and admin.py 2016-09-28 16:43:17 +02:00
Yann
8f48612c82 Enables debian package creation
with make deb . Next commit will update the README
2016-09-23 14:34:57 +02:00
Roland Haroutiounian
d0f0c6c945 Added a "uwsgi-workers" argument for the instances deployment 2016-09-23 10:56:20 +02:00
Yann
629ac94dc8 Avoiding fails at session_restore
Before when session restore fails the webui was answering "Unknown status 200" as content.
Now it produce 2 log messages (maybe)
2016-09-23 10:12:19 +02:00
prieto
3d940f0b1c Disabled authentification in back-end 2016-09-23 09:47:54 +02:00
Yann
58b88b0b97 [broken] Fixes validator issues + confspec call
broken nginx conf + absolute path in slim that is known only at build time
2016-09-22 17:34:15 +02:00
Yann
2bfba3be30 Various bugfix on mass_deploy and slim about mongodb connections 2016-09-22 15:22:26 +02:00
prieto
9413018837 Add a static url to webui conf 2016-09-22 15:09:46 +02:00
Yann
d855db99a8 Updated the way webui runs uwsgi
using --plugin option instead of uwsgi_python3 shortcut (can be uwsgi_python34 etc)
2016-09-22 12:33:00 +02:00
Yann
2b30b2f346 Making datasource and mass_deploy working with mongodb user management
https://docs.mongodb.com/v2.4/reference/user-privileges/
https://docs.mongodb.com/v2.4/reference/privilege-documents/
2016-09-21 17:17:35 +02:00
Yann
ca4952a264 webui & slim enhancement
Adds a LODEL2LOGDIR to buildconf.py
Adds a nginx-conf option to slim
...
2016-09-16 16:45:37 +02:00
prieto
dbd8df443a Creation script of mongodb database and user 2016-09-16 14:23:04 +02:00
Yann
704582bc16 Bugfix in webui uswgi socket file creation
Now create an INSTANCE_NAME.sock in @localstatedir@/uwsgi_sockets
Note : the localstatedir is wrong -_- /usr/var instead of /var........
2016-09-16 14:16:17 +02:00
Yann
7618a7bed7 Changed the way webui calls uwsgi
Using execl instead of fork to preserv the pid
2016-09-16 12:48:46 +02:00
Yann
e6e4a03a27 Enhancement in SLIM capabilities + bugfixes in install process
SLIM is now able to edit configuration from CLI, to start instances etc.
2016-09-14 16:01:57 +02:00
prieto
7b7ae5a2f5 Link to css changed...temporary 2016-09-09 11:35:08 +02:00
prieto
999e65951d Commments 2016-09-09 11:19:45 +02:00
prieto
6bfb862e8e Interface - delete an instance 2016-09-08 14:32:15 +02:00
Roland Haroutiounian
48f295998b Added comments on filesystem session plugin's modules 2016-09-08 14:08:14 +02:00
prieto
500b75d86c Changes in the interface - adding delete option 2016-09-08 14:06:14 +02:00
Roland Haroutiounian
cb37a065c4 Added a token test on the cookie reading 2016-09-07 17:42:36 +02:00
Roland Haroutiounian
dcf4098ca7 Deleted two useless TODO comments 2016-09-07 17:42:36 +02:00
Roland Haroutiounian
9554fd0bc5 Added 2 configuration parameters to the webui plugin (for the cookies) and cleaned its run module 2016-09-07 17:42:36 +02:00