Yann Weber
9f88118bd3
Add a symlink plugins -> lodel/plugins in repo root
8 роки тому
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
8 роки тому
Yann Weber
c5522816fe
Starting implementation of the forking webserver
The server is listening, fork on new request, and then loads the context from URL.
Now we have to call properly the webui plugin in order to answer the request
8 роки тому
Yann Weber
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.
8 роки тому
Yann Weber
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...
8 роки тому
prieto
d0f52641b3
In operator with cast of right type
8 роки тому
prieto
b79a82e9f0
detailed object listing
8 роки тому
Roland Haroutiounian
bb60b09d66
Added the conversion between a string and a list for the "in"/"not in" operators
8 роки тому
Yann Weber
0b60a24582
Bugfixes on back reference handling for singleRef solves #154
8 роки тому
prieto
c04fe41b80
Objects detailed
8 роки тому
Yann Weber
740d0c1167
Bugfixes on backreference handling
8 роки тому
Yann Weber
1c716173be
Quick & dirty readonly input removal
Removed useless readonly property on some fields
8 роки тому
Yann Weber
14ec5a0b66
solves #153
Add master = true to uwsgi.ini
8 роки тому
Yann Weber
44f39356eb
Removed target="_blank" on links
8 роки тому
prieto
7c096073c0
Display detailed of an object
8 роки тому
Roland Haroutiounian
2830502b0d
Added a TODO in the search controller
8 роки тому
Roland Haroutiounian
97418cbeaa
Added a template for a search page
8 роки тому
Yann Weber
1d2749392f
bugfix in base template
8 роки тому
Yann Weber
4d361423ff
Bugfixes in webui update handling
8 роки тому
Yann Weber
6f8c2d3173
Generic error template enhancement
Add the custom message provided by HttpException to the template
8 роки тому
Yann Weber
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...
8 роки тому
prieto
35f543074b
Bugfixes
8 роки тому
prieto
28d823986e
Static url to templates
8 роки тому
prieto
09511f3b5f
Static url to templates
8 роки тому
prieto
910b078ed6
Last changes
8 роки тому
prieto
0be025f003
Bugfixes
8 роки тому
prieto
e4214a1705
Bugfixes
8 роки тому
prieto
43bf90d1ca
Bugfixes
8 роки тому
prieto
f9000bbc83
Bugfixes
8 роки тому
prieto
503f683b4f
Bugfixes en create_datas scripts and admin.py
8 роки тому
Yann Weber
8f48612c82
Enables debian package creation
with make deb . Next commit will update the README
8 роки тому
Roland Haroutiounian
d0f0c6c945
Added a "uwsgi-workers" argument for the instances deployment
8 роки тому
Yann Weber
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)
8 роки тому
prieto
3d940f0b1c
Disabled authentification in back-end
8 роки тому
Yann Weber
58b88b0b97
[broken] Fixes validator issues + confspec call
broken nginx conf + absolute path in slim that is known only at build time
8 роки тому
Yann Weber
2bfba3be30
Various bugfix on mass_deploy and slim about mongodb connections
8 роки тому
prieto
9413018837
Add a static url to webui conf
8 роки тому
Yann Weber
d855db99a8
Updated the way webui runs uwsgi
using --plugin option instead of uwsgi_python3 shortcut (can be uwsgi_python34 etc)
8 роки тому
Yann Weber
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/
8 роки тому
Yann Weber
ca4952a264
webui & slim enhancement
Adds a LODEL2LOGDIR to buildconf.py
Adds a nginx-conf option to slim
...
8 роки тому
prieto
dbd8df443a
Creation script of mongodb database and user
8 роки тому
Yann Weber
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........
8 роки тому
Yann Weber
7618a7bed7
Changed the way webui calls uwsgi
Using execl instead of fork to preserv the pid
8 роки тому
Yann Weber
e6e4a03a27
Enhancement in SLIM capabilities + bugfixes in install process
SLIM is now able to edit configuration from CLI, to start instances etc.
8 роки тому
prieto
7b7ae5a2f5
Link to css changed...temporary
8 роки тому
prieto
999e65951d
Commments
8 роки тому
prieto
6bfb862e8e
Interface - delete an instance
8 роки тому
Roland Haroutiounian
48f295998b
Added comments on filesystem session plugin's modules
8 роки тому
prieto
500b75d86c
Changes in the interface - adding delete option
8 роки тому
Roland Haroutiounian
cb37a065c4
Added a token test on the cookie reading
8 роки тому