prieto
f55980de2e
Ajout insertion multiple
2016-04-20 16:20:31 +02:00
prieto
ee0ba8dea8
Corrections oublis
2016-04-20 15:55:45 +02:00
prieto
07344ee5c3
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-04-20 11:27:16 +02:00
prieto
6d61bf29ed
enlever méthode inutile
2016-04-20 11:25:30 +02:00
Yann
3ed55fdc29
Some modifications + tests update for settings loader
2016-04-20 11:08:46 +02:00
prieto
ab2bbee191
Implémentation requete
2016-04-20 10:06:11 +02:00
Yann
61dd475e8c
Query refactoring
2016-04-13 09:36:44 +02:00
Roland Haroutiounian
10b24a43ff
Added the FieldValidationError reference to the references module
2016-04-13 08:44:37 +02:00
Yann
c5971d9590
Updated comments (and deleting space between ## and @brief )
2016-04-12 12:16:52 +02:00
Roland Haroutiounian
8bc0f8484e
Code cleaning on the query module
2016-04-08 17:45:49 +02:00
Yann
cc578d504d
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-04-08 15:21:57 +02:00
Yann
6297a2c67c
SettingsError exception class implementation
2016-04-08 15:21:12 +02:00
Roland Haroutiounian
95e5b3c03d
First implementation of the query preparation of the LeGetQuery class
2016-04-08 15:08:04 +02:00
Roland Haroutiounian
81ad187977
Bug fix on the name of a method in query module
2016-04-08 10:03:32 +02:00
Roland Haroutiounian
9c9dd8bc96
code cleaning
2016-04-08 10:02:47 +02:00
Roland Haroutiounian
62161a0ffb
LeGetQuery.__get() now takes into account the group argument
2016-04-07 17:31:22 +02:00
Roland Haroutiounian
f9df2fb0f3
Added the implementation of LeGetQuery.__prepare_order()
2016-04-07 17:23:30 +02:00
Roland Haroutiounian
efe35331fe
Moved the validate_query_filters method from LeQuery to LeFilteredQuery
2016-04-07 16:56:45 +02:00
Roland Haroutiounian
c342a85995
Implementation of the prepare method for LeDeleteQuery with the check of the validity of the query filters operators
2016-04-07 16:54:55 +02:00
Roland Haroutiounian
886e123d40
Hook-less implementation of the crud methods in the query module's classes
2016-04-07 16:46:44 +02:00
Roland Haroutiounian
22c43078bb
Added the signatures for the LeInsertQuery methods
2016-04-07 12:16:15 +02:00
Roland Haroutiounian
4fc3a0eb2a
Signatures of LeGetQuery methods , First implementation of LeDeleteQuery
2016-04-07 12:02:16 +02:00
Roland Haroutiounian
b36062534b
First coding of the LeUpdateQuery class
2016-04-07 10:42:47 +02:00
Roland Haroutiounian
859ceb30f2
Fixed a relative import
2016-04-07 10:42:47 +02:00
Roland Haroutiounian
a326c1c3de
Deleted a debug code block from the Query module
2016-04-07 10:42:47 +02:00
Roland Haroutiounian
be57cf17c0
First implementation of the query class
2016-04-07 10:42:47 +02:00
Roland Haroutiounian
9114028304
Added the signatures of the prepare_query and execute_query methods in LeQuery class
2016-04-07 10:42:47 +02:00
Roland Haroutiounian
12dd7a0d4c
PEP8 + added the action class property on the query classes
2016-04-07 10:42:47 +02:00
Yann
2b954d4a4d
First implementation of hierarchical data handler
2016-04-06 17:27:13 +02:00
Yann
2c47c71116
Modification in backreference handling.
...
Now a backreference is represented by a tuple(LeObject child class, fieldname)
2016-04-06 15:49:03 +02:00
Yann
a57899fb18
Bugfix on backreferences + updates of em_test
2016-04-06 15:05:36 +02:00
Yann
01df586379
Bugfix in lefactory method that allow to sort EmClass by dependencies + test update
2016-04-06 14:41:54 +02:00
Yann
f572743c09
Bugfixes + add backreference support in datahandlers (untested)
2016-04-06 14:05:52 +02:00
Yann
5d0ded158f
Add settings & logger module
2016-04-04 16:18:08 +02:00
Yann
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
2016-04-04 15:33:22 +02:00
Yann
3cd22a08d5
Small changes in datahandlers
2016-04-04 11:33:59 +02:00
Yann
747205a0fe
LeFactory first implementation
...
This implementation is broken because of relation data_handler. Backreference is a broken concept and relation data_handler too.
2016-04-01 17:17:30 +02:00
Yann
c7ef7d471b
Beginin leapi implementation
2016-04-01 09:18:22 +02:00
Roland Haroutiounian
7b7430ab90
Refactoring on dict reference type
2016-03-31 14:29:36 +02:00
Roland Haroutiounian
1c1d353719
Added the management of allowed_classes in Reference
2016-03-31 14:26:00 +02:00
Roland Haroutiounian
9986d068c0
PEP8
2016-03-31 10:06:06 +02:00
Roland Haroutiounian
c075992819
Refactoring on the can_override method in data_handlers types
2016-03-31 09:26:44 +02:00
Roland Haroutiounian
9b237fbe2e
Added can_override method to the data_handler types
2016-03-31 08:50:54 +02:00
Roland Haroutiounian
00f02c2c18
First implementations of the can_override method on the data_handler types
2016-03-30 17:30:58 +02:00
Roland Haroutiounian
aeacf2bf89
Bug Fix on the Relation class instanciation
2016-03-30 14:55:02 +02:00
Roland Haroutiounian
71bf295b27
Code cleaning
2016-03-30 11:26:54 +02:00
Roland Haroutiounian
9729d40fa4
Changed the relation init method
2016-03-30 10:57:54 +02:00
Roland Haroutiounian
c7695e0166
Moved relation module in references package
2016-03-30 09:55:43 +02:00
Yann
7d209cdb3b
DataHandler names unification + test_em modifications
2016-03-30 09:51:40 +02:00
Roland Haroutiounian
33851ac919
Code cleaning
2016-03-25 11:51:49 +01:00