1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-04-27 02:40:57 +02:00
Commit graph

39 commits

Author SHA1 Message Date
Roland Haroutiounian
6161420eed [#101] A default templates_base_directory can be set in the instance settings 2016-01-08 16:07:31 +01:00
Yann
f2a54b72cd Comments update for doxygen doc
Now we have a main page on doxygen
2016-01-08 13:52:37 +01:00
Yann
94b843e321 Add a new settings debug_sql 2016-01-08 12:23:31 +01:00
Yann
1aa64505eb Add a new Makefile rule for instance emgraph that will generate an image representing the instance editorial model 2016-01-08 11:28:03 +01:00
Yann
8133e6c45b Add settings.py with default value, add migration_handler options + modify migration_handler to handle settings 2016-01-08 10:44:07 +01:00
Yann
52f2bd644f Push forgeted file 2016-01-07 17:14:32 +01:00
Yann
d5b866512c New settings handler 2016-01-07 17:09:12 +01:00
Yann
967be41ede Disabled tests on LeDatasource SQL 2015-11-27 11:46:54 +01:00
ArnAud
d854b468e0 Lodel: first draft of Settings class 2015-11-20 14:04:41 +01:00
ArnAud
179d0c3a7e delete old code 2015-11-19 16:30:14 +01:00
ArnAud
4f1fc375eb mosql utils: no quote around column definitions 2015-11-13 17:15:55 +01:00
Yann
052ddd4ce8 Bugfixes in lefactory and letype
Deleted the classinstancemethod decorator because of inheritance problems (not sure they were real...)
Add a shortcut method to LeFactory to get the generated LeObject class
+ bugfixes
2015-10-23 15:52:35 +02:00
Yann
c2ce3e3717 And another file I forgeted 2015-10-23 10:42:20 +02:00
Yann
eba6e9d6cf Deleted most of Django code/files 2015-10-16 17:05:29 +02:00
ArnAud
ce219de48a Editorial Model: first shot at the SQL migration handler (bye-bye django) 2015-10-15 17:21:50 +02:00
Yann
c0bea01d0e Updated the django listfieldtype command (useless since we planned to remove django -_-) + disabling the LodelTestInstance calls to djangoMh 2015-10-15 13:45:08 +02:00
ArnAud
6d3ca3e6a9 MlString: __repr__() now return __str__() 2015-10-08 10:41:24 +02:00
Yann
ebad5fae54 Moving random EM generation methods in a dedicated file
Creating a class RandomEm in EditorialModel/randomem.py
2015-10-01 13:49:23 +02:00
Yann
f2027275e3 Addapt graphviz backend and random EM generator to changes on master branch
Mostly about the changes on types hierarchy
2015-09-24 14:36:19 +02:00
Yann
8ed5b666a9 Added a manage.py command to generate random EM 2015-09-24 14:36:19 +02:00
Yann
cedf457ee0 Bugfix on instanciation and infinit grows of translations 2015-09-24 14:36:19 +02:00
ArnAud
218d1f9afc MlString: ensure __str__() will always output same string by ordering the keys 2015-09-24 14:18:06 +02:00
Yann
f1a9a7d520 Added new loggers settings 2015-09-18 15:08:35 +02:00
Yann
d35fa8c56e Cleaning and commenting 2015-09-17 17:14:20 +02:00
Yann
2b6615775c Added a django admin command to list fieldtypes 2015-09-17 16:24:17 +02:00
Yann
1137205c99 Solved some bugs about conditionnal models instanciation in LodelTestInstance.models
Added Lodel/settings/migrations.py that I forget
Disabled the --merge option that was given to the makemigrations command by the MH
2015-09-16 11:03:45 +02:00
Yann
8bea52d740 Code cleaning and adding features to generate models in application only when not testing with the MH 2015-09-16 10:37:23 +02:00
Roland Haroutiounian
a86bbfbd49 [mlstring] Mise à jour des todo avec le process à implémenter
On se base sur gettext, mais avec l'utilisation d'une langue par défaut qui sera obligatoire lors de la création de la chaine.
2015-07-03 11:51:16 +02:00
Roland Haroutiounian
c0d83c3af9 PEP8 sur Lodel/utils/mlstring.py 2015-07-03 11:06:00 +02:00
Yann
27d178e531 Code factorization and create methods for EmComponent and childs changes
Behaviour changed for EmComponent and childs create method :
	- Takes care of duplicated names at creation
	- Handle all the checks in EmComponent method
Factorization of EmField.get_class_table() method
Added a @property method class_table_name to EmClass
2015-07-02 13:38:15 +02:00
Yann
c74f65ac55 Normalize comments for MlString 2015-06-18 14:36:32 +02:00
Yann
712a2710a0 Added __eq__ to MlString
Now an MlString instance is able to say if another MlString instance is equivalent using mlstr1 == mlstr2
2015-06-18 13:40:06 +02:00
ArnAud
fbb6a39261 mlstring: delete an translation 2015-06-04 11:39:23 +02:00
ArnAud
50fb6fa1fd mlstring: empty mlstring should be an empty string 2015-06-03 17:27:53 +02:00
ArnAud
c779ede921 MlString: Class to handle multilingual strings 2015-06-03 16:48:35 +02:00
Yann
ebdb512500 Modification to be less dependent to django + logging in db wrapper 2015-05-27 15:05:05 +02:00
Yann
eeaaf945d2 Created the class MlString and fixing syntax error
Created the class Lodel.utils.mlstring.MlString needed by EditorialModel.lib.component.EmComponent
The first test pass ! =)
2015-05-27 10:54:31 +02:00
Yann
8f2a3655bb Renaming and moving files + fixed a bug in Lodel.settings imports
Lodel/sttings/__init__.py wasn't able to import files when called by manage.py
Renaming em to EditorialModel and moved Em* objects to EditorialModel/lib
Adding a first test (that do not pass because of syntax errors in Em* classes)
2015-05-27 10:45:11 +02:00
Roland Haroutiounian
f24274a4d8 Ajout du projet Lodel 2015-05-22 12:22:16 +02:00