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
prieto
f2cf90d1e1
correction import pymysql
2016-04-07 10:16:29 +02:00
Yann
a3c5a7932a
Bugfix in settings.py
2016-04-07 10:13:45 +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
9676537c40
Add a small dirty Makefile (to make doc and dynamic code)
2016-04-06 14:48:14 +02:00
Yann
b4f809d9bd
em_test modifications
2016-04-06 14:42:31 +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
a9b4a1bfae
em_test.py and examples/em_test.pickle updates
2016-04-06 14:04:37 +02:00
Yann
5d0ded158f
Add settings & logger module
2016-04-04 16:18:08 +02:00
Yann
222cae438c
Fixed the em_test.py (not fixed, just comments some lines) + update the em_test.pickle file
2016-04-04 16:17:30 +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
6df3b4d5ce
Add some scripts to handler dynamic code generation (without doc)
2016-04-01 17:18:31 +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
d96b8812c0
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-04-01 09:18:43 +02:00
Yann
9fb87ec0ec
Changed the EmField override check in EmClass + updated tests
2016-04-01 09:18:22 +02:00
Yann
c7ef7d471b
Beginin leapi implementation
2016-04-01 09:18:22 +02:00
Roland Haroutiounian
311ef0c4f3
Created a mongodb subpackage in the datasource package
2016-04-01 09:15:12 +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
Yann
4c01b5dafc
Add tests for EmClass field overriding
2016-03-30 17:23:57 +02:00
Yann
a87ade8803
Updated EmClass fields overriding checks (still incomplete)
2016-03-30 16:28:39 +02:00
Roland Haroutiounian
aeacf2bf89
Bug Fix on the Relation class instanciation
2016-03-30 14:55:02 +02:00
Roland Haroutiounian
35730ee916
Added a first implementation of the insert method in mongodb
2016-03-30 14:42:52 +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
036f16f8aa
Added the username and password management for the mongodb connection string
2016-03-25 14:42:22 +01:00