prieto
6d5da933e0
Inheritance of MlNamedObject 2
7 years ago
prieto
3abf402cfb
Inheritance of MlNamedObject
7 years ago
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
8 years ago
Yann Weber
8f48612c82
Enables debian package creation
with make deb . Next commit will update the README
8 years ago
Yann Weber
b5a6adc3a8
Enhancement of distclean target
Now when running distclean ALL files generated by the ./bootstrap && ./configure && make are deleted.
Maybe it's not a good idea because it's not the purpose of distclean target...
8 years ago
Yann Weber
21af2bbcbc
Autotools chain enhancement + solves #137
Using $pkgpythondir instead of $pythondir in Makefile.am
Solves a bug that put installed files in site-packages instead of dist-packages on debian
8 years ago
Yann Weber
8316ab82ff
Configure autotools for distributing lodel2
IMPORTANT : tests are broken. See details below
A new lodel/buildconf.py.ini file created. It will be transformed to a lodel/buildconf.py file by ./configure .
This file goal is to store build time constant (for the moment the presence of pymongo).
You have to build lodel2 before being able to run the tests.
8 years ago
Yann Weber
6e4fdde5f6
Doxygen documentation enhancement
Created groups (they can be found under the "Modules" menu -_- )
Created new pages : on LeAPI EditorialModel Plugins etc
8 years ago
Yann Weber
52c60a9f63
Bugfixes in XmlFile translator & in base_classes datahandlers
8 years ago
Yann Weber
557d277186
Multiple bugfixes + create_instance.sh script update
- Add an update feature to create_instance.sh script
- Updated webui plugin load instruction (running loader.start() in run)
- Updated the way EmCmponents handles EmGroup
- Updated the way EmFields handles EmClass
- Updated xmlfile translator according to EmComponent modification
8 years ago
Yann Weber
91fff4ca1c
Bugfixes on EmGroups handling
8 years ago
Yann Weber
28f45b080f
Bugfixes on model and for test fixing
8 years ago
Yann Weber
69f59baa2c
Bugfix on group activation (in EmClasses all fields were always actives)
8 years ago
Yann Weber
ae8d8c05a6
Bugfix on EM groups handling (now we have to set actives groups in settings)
8 years ago
Yann Weber
1f1e6f13b3
Add a new get_class_childs to Model class and a child_classes method to LeObject
Now lefactory populate a LeObject attribute named _child_classes
8 years ago
Yann Weber
006b0c4bc0
Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py
8 years ago
prieto
d24b7a92d6
Comments for doxygene
8 years ago
Yann Weber
30bc9eec08
Fixing test and EmClass
- Now returning automatic common field classname in fields method
8 years ago
Yann Weber
e9f17eab6e
Fixes #79 (and brokes tests of xml translator)
Adding a field to all non abstract classes to store in DB the name of corresponding LeObject subclass
8 years ago
Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
8 years ago
prieto
0dddf1146f
Working for all tests
8 years ago
prieto
8264423011
Corrections
8 years ago
Yann Weber
3fe63787fb
Updated lequery.py to use targe_class datasource and not taking it as arguement of execute methods
8 years ago
Yann Weber
a7c69629e7
Introducing a datasource attribute by em_class
8 years ago
Yann Weber
373987ab9f
[Broken tests] Add some tests for xmlfile EM translator
8 years ago
prieto
42361efe7a
Comments are added
8 years ago
prieto
aa67601c81
Bugs correction
8 years ago
prieto
7070838e92
Addons for xml translator
8 years ago
prieto
d2a570ca45
Correction d_hash
8 years ago
prieto
9497130e8b
Add Save of Settings, EM translator in xml
8 years ago
Yann Weber
a312cbc4d9
First version of lodel2 instance creation script
8 years ago
Yann Weber
2739a94e5a
Add more capabilities to Model class to handles actives groups
8 years ago
Yann Weber
3ed55fdc29
Some modifications + tests update for settings loader
8 years ago
Yann Weber
c5971d9590
Updated comments (and deleting space between ## and @brief )
8 years ago
prieto
7fe080eb38
ajout getter
8 years ago
prieto
20b148f0d0
Ajout getter
8 years ago
Yann Weber
f572743c09
Bugfixes + add backreference support in datahandlers (untested)
8 years ago
Yann Weber
e5898b29b6
Refactoring of datahandlers to simplify from_name() method
Warning, this commit is in a broken state. The em_test.py doesn't works yet
because it uses old relation handler (that doesn't exists anymore). The pickle file in
example is broken too
8 years ago
Yann Weber
747205a0fe
LeFactory first implementation
This implementation is broken because of relation data_handler. Backreference is a broken concept and relation data_handler too.
8 years ago
Yann Weber
9fb87ec0ec
Changed the EmField override check in EmClass + updated tests
8 years ago
Yann Weber
a87ade8803
Updated EmClass fields overriding checks (still incomplete)
8 years ago
Yann Weber
c98d1cb703
EmField d_hash() bugfix + tests updates
8 years ago
Roland Haroutiounian
dd73e0a5b2
Fix on the call to FieldDataHandler.from_name
8 years ago
Yann Weber
62752d9f8c
[broken tests] Updated EmField to use FieldDataHandler
8 years ago
Yann Weber
a102a064e8
More tests on d_hash() + some fixes
8 years ago
Yann Weber
0ad46e9e37
Disabled deterministic __hash__ method and renamed it d_hash() + tests
8 years ago
Yann Weber
2835624bad
Implements deterministic __hash__ methods for objects
8 years ago
Yann Weber
c85a78ff8a
EmGroup implementation + fixes + tests
8 years ago
Yann Weber
ba28ec26c0
Begin editorial_model package implementation + tests
8 years ago
Yann Weber
7910374183
Implementing mlstring + tests
8 years ago