1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-22 13:46:54 +01:00
Commit graph

1,127 commits

Author SHA1 Message Date
ArnAud
6337722967 datasource SQL: cast values according to fieldtype 2016-01-22 17:15:17 +01:00
ArnAud
d978e8100b lerelation: send the value not the key 2016-01-22 17:14:16 +01:00
Yann
51eaf22273 Updated fieldtypes() method in LeRel2Type 2016-01-22 16:48:21 +01:00
ArnAud
ab59896f8f lerelation: empty return value from datasource would be [] not None 2016-01-22 16:40:29 +01:00
Yann
d4504df92a Bugfix for Em MlString translations + me.json update 2016-01-22 16:05:04 +01:00
Yann
ec386c3e72 Update datasource tests (deleted test concerning multivalue fields) + add an utility method in DataSource/MySQL/fieldtypes.py 2016-01-22 15:26:50 +01:00
ArnAud
a2cd199f10 fieldtypes, leo: check attr before using method 2016-01-22 15:24:46 +01:00
ArnAud
0baf161bd2 datasource SQL: GET with multivalued field for LeType 2016-01-22 12:26:24 +01:00
Yann
af34f4bf59 Allowing None values in i18n dict 2016-01-22 12:18:03 +01:00
Yann
ba6cffbd03 Updated em json files 2016-01-22 12:14:14 +01:00
Yann
02e32d887b MlString update 2016-01-22 12:08:33 +01:00
Yann
5eadaf145d MlString enhancement + i18n check functions implementation 2016-01-22 11:52:33 +01:00
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
Roland Haroutiounian
9d591399e4 Changed the sample display of request parameters in the index routing method 2016-01-21 11:49:36 +01:00
Roland Haroutiounian
220f7ea7c3 Merge branch 'flask' 2016-01-21 11:43:54 +01:00
Roland Haroutiounian
5570fe1473 The index method of the routing is parsing the url elements and arguments 2016-01-21 11:24:04 +01:00
Roland Haroutiounian
bbb4756f57 Flask is implemented with a Router module to parse and deal with url elements and params 2016-01-21 11:18:29 +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
Roland Haroutiounian
6708eed425 Added Flask to the requirements 2016-01-21 10:37:40 +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