prieto
ec0208a0aa
Changes to slim for LodelContext - corrects is_running
2016-11-03 16:03:14 +01:00
prieto
50560c8496
Changes to slim for LodelContext
2016-11-03 16:03:14 +01:00
Roland Haroutiounian
360a60fee7
LodelContext is used in the lodelsite starting process
2016-11-03 14:57:39 +01:00
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
d3f4a0d8d3
Bugfix with debian package build
...
Add the lodelsites directory to the autotools chain. Note : for the moment it's a dirty POC, we have to do it in a cleaner way...
2016-11-03 10:54:24 +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
Yann
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
...
Test passes
2016-11-02 16:24:22 +01:00
Yann
1257e49de6
Add the possibility to indicate an alias when exposing a list of objects
...
Changed the exposure specs to allow giving an alias for an object when importing using the from x import y,z form
2016-11-02 16:22:54 +01:00
Yann
572c408a79
POC of context manager to handle virtual lodel packages
2016-11-02 14:34:27 +01:00
Yann
63ca38b370
Fixed runtest scripts
2016-10-19 11:50:40 +02: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
prieto
2d8a9811e6
Some adjustments and corresions
2016-10-06 09:03:07 +02:00
m.orban
a6ddb0a972
Modified README to deploy in VM
2016-10-04 17:00:10 +02:00
Yann
0b60a24582
Bugfixes on back reference handling for singleRef solves #154
2016-09-30 17:26:30 +02:00
Yann
397dc521c3
bugfix in CBL
...
Addapted to links withou _blank target
2016-09-30 17:26:30 +02:00
Yann
ea8bb4f6d1
em_test updates
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
2010fb29e8
empty method implementation for Reference objects
2016-09-30 14:15:27 +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
949320298d
Another bugfix on get_from_uid LeObject method
...
When not found return None and do not try to run len() on None
2016-09-30 14:14:00 +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
Yann
8a1aef8d68
Enhancement of LeObject get_from_uid method
...
Return an instance and not a list of len 1 anymore
2016-09-30 11:56:27 +02:00
Yann
78e3dca30b
MultipleRef datahandlers bugfixes
...
In construct and check data
2016-09-30 11:55:41 +02:00
Yann
d57c677cc6
mass_deploy script enhancement
...
Add the possibility to give a fixed name to instances created by mass_deploy
2016-09-30 11:01:27 +02:00
prieto
9a38e50fb5
create_datas
2016-09-30 09:20:22 +02:00
prieto
35f543074b
Bugfixes
2016-09-30 09:09:44 +02:00
prieto
d18b23d19c
Adds usage in script
2016-09-30 08:57:45 +02:00
prieto
aa7766c3a1
pickle file
2016-09-29 17:16:15 +02:00
Yann
864c57ed78
Commenting CBL
2016-09-29 17:15:05 +02:00
prieto
a09585d63c
Enhancements of crea_datas scripts
2016-09-29 16:50:25 +02:00
prieto
be03a5da63
dyncode
2016-09-29 16:23:35 +02:00
Yann
8f5e33cb7f
V1 of CBL script
...
Tree 'scenario' are available :
- mass insertion
- mass edition
- mass deletion
For the moment scenario parameters and order are harcoded :
- 50 iteration for mass_insertion
- 10 iteration for mass_edition
- 10 iteration on deletion
2016-09-29 16:04:08 +02:00
prieto
0e4b87c41c
Corrects allowed_classes in Collection
2016-09-29 15:49:20 +02:00
prieto
7fa8dee106
Remove curl access to indexthemes
2016-09-29 13:54:06 +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
5bbcdbbdcb
Correction of static url
2016-09-29 13:13:00 +02:00
prieto
910b078ed6
Last changes
2016-09-29 11:00:15 +02:00