1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-30 08:36:53 +01:00
Commit graph

910 commits

Author SHA1 Message Date
Yann
6368aaea34 Now LeCrud.datas() method has a lang argument allowing datas to be indexed by fieldname translations 2016-01-22 11:51:56 +01:00
ArnAud
88c5f2fe54 datasource SQL: take care of multivalued fields in INSERT 2016-01-22 11:16:22 +01:00
Yann
cae0377c3d More doc + tests fixes and rank fieldtype fix 2016-01-22 09:45:15 +01:00
Yann
2b2e219549 Changed the way of complete arguement is interpreted in fieldtypes() and fieldlist() method 2016-01-21 16:59:45 +01:00
Yann
bf44d66440 Changed the _fields properties of LeType child classes in dynamic code + adding complete argument to fieldlist() and fieldtypes() methods
+ tests
2016-01-21 16:31:30 +01:00
Yann
5ad9c27a07 Introducing the notion of immutable fieldtypes for classtypes fields definition 2016-01-21 14:03:58 +01:00
Yann
f28c941a38 Add a forgotten file (namerelation) 2016-01-21 11:02:06 +01:00
Yann
4556de146a Updated install/em.json 2016-01-21 10:55:32 +01:00
Yann
37edad7b1f Implements handling of relation_name field in relation common fields 2016-01-15 17:07:54 +01:00
Yann
da89046c33 Add the relation_name field to relation_common_fields list
We have to create a special fieldtype to handle this field
2016-01-15 14:48:23 +01:00
Yann
7b1152e444 Fixing syntax error in join & format fieldtypes 2016-01-15 14:48:03 +01:00
Yann
c5a5b10b4a Untested implementation of join fieldtype and format fieldtype 2016-01-15 14:35:38 +01:00
Yann
b7c957e47e Renamed concat fieldtype in join + comments in generic fieldtype 2016-01-15 14:11:18 +01:00
Yann
e90ea6e39d Bugfix on multivalue field deletion 2016-01-15 10:29:17 +01:00
Yann
aaaf0af558 Add support for multivalue field deletion (unstested) 2016-01-15 10:27:55 +01:00
Yann
93980d68a0 Merge branch 'master' into datasource_fieldtypes 2016-01-14 17:22:56 +01:00
Yann
e7c1af45d9 Code cleaning for generic fieldtype 2016-01-14 17:19:28 +01:00
Yann
eaca82da1f Implements automatic concatenation fieldtype 2016-01-14 16:52:12 +01:00
Yann
1daf9677c6 Implements order in fieldtype construct 2016-01-14 16:36:46 +01:00
Yann
03ab4b0c59 Merge commit '8971cff64e' into datasource_fieldtypes
Fixing settings
2016-01-14 16:05:22 +01:00
Yann
173564b7ee New constants in EditorialModel.classtypes 2016-01-14 14:28:50 +01:00
Yann
cb5f2f7460 Implements multivalue column 2016-01-14 12:31:08 +01:00
Roland Haroutiounian
aadf063a10 [#101] Fixed the template creation process 2016-01-14 09:58:34 +01:00
Yann
8211fd5c47 Start multivalueFieldType implementation (in migrationhandler) 2016-01-14 09:50:55 +01:00
Yann
6153ddd323 Add support for multiple PK 2016-01-14 09:50:21 +01:00
Roland Haroutiounian
ba725a5cdb [#101] The makefile is now creating the templates of an instance of Lodel2, extending the basis templates 2016-01-14 09:46:12 +01:00
Roland Haroutiounian
fcc3c71a27 [#101] A template folder is available in Lodel2's root, containing the common templates for all the websites 2016-01-14 09:25:59 +01:00
Roland Haroutiounian
80736f7f79 [#101] Changed the import method for the exceptions 2016-01-13 18:09:07 +01:00
Roland Haroutiounian
d70ee58cd0 [#101] The Template package now contains "exceptions" and "api" subpackages 2016-01-13 18:04:57 +01:00
Yann
bbf33373d0 New version of fieldtypes class hierarchy + partial migrationhandler adaptation 2016-01-13 17:29:08 +01:00
Roland Haroutiounian
9d33c7a3e0 A default templates API is available in the Template package 2016-01-13 16:40:49 +01:00
Roland Haroutiounian
8971cff64e Added the "base_path" setting to the mandatory list 2016-01-13 15:57:36 +01:00
Roland Haroutiounian
f46e91f6d3 The format for giving custom modules to import in templates is documented 2016-01-13 14:40:23 +01:00
Roland Haroutiounian
7831378575 Makefile contains a command to create the default directories of an instance 2016-01-13 12:26:10 +01:00
Roland Haroutiounian
5acf09a1ee Template Loading doesn't use settings_local anymore 2016-01-13 08:52:57 +01:00
Yann
a56bb65c94 Upgrade the EmClass.check() method making it detect inconsistency between EmClass fields and common_fields defines in EditorialModel.classtypes
Note : the check method does not correct the EmFields only displays a warning
2016-01-11 17:30:50 +01:00
Yann
10c3924ec0 Merge branch 'master' of git.labocleo.org:lodel2 2016-01-11 14:04:46 +01:00
Yann
43e8145dab Implements get_max_rank() in LeApi. Add a fieldtype rank. + A lot of bugfix
The me.json was not up to date (Models don't forward classtypes modifications to loaded json file)
Some bugfix on fieldtypes that was not used (because of old me.json)
2016-01-11 14:03:01 +01:00
ArnAud
e00980915c delete old file 2016-01-08 17:30:51 +01:00
ArnAud
5164adffa3 sql datasource: delete unused methods 2016-01-08 17:13:17 +01:00
ArnAud
5be6c62189 sql datasource: relational filter for hierarchical relations 2016-01-08 17:06:57 +01:00
Roland Haroutiounian
6161420eed [#101] A default templates_base_directory can be set in the instance settings 2016-01-08 16:07:31 +01:00
Roland Haroutiounian
7f62685695 [#101] TemplateLoader is able to receive custom filters or apis 2016-01-08 14:47:01 +01:00
ArnAud
53663603fa lecrud: get() flag instanciate to choose to get raw data or objects 2016-01-08 14:26:15 +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
ArnAud
a084678831 sql datasource: update() for rel2type 2016-01-08 13:37:16 +01:00
Yann
b34ce35e85 Removed unused & obsolete code in leapi/letype.py 2016-01-08 12:23:31 +01:00
Yann
94b843e321 Add a new settings debug_sql 2016-01-08 12:23:31 +01:00
ArnAud
ff8b0dd10a lecrud.update(): do not check data consistency on update: must be done later 2016-01-08 12:19:09 +01:00
Yann
fe6a6f4059 Adding the emgraph rule in install/Makefile 2016-01-08 11:30:38 +01:00