72 Commits

Author SHA1 Message Date
aa07c728fe - Fixed transactions in SQLite 2024-06-28 07:47:53 -04:00
feee26cd26 Merge branch 'notes-2.x' of https://git.mcnd.ca/mcndave/ulmus into notes-2.x 2024-06-21 13:01:48 +00:00
e37944c63a - Began WIP on SQL specific PdoObject 2024-06-21 13:01:21 +00:00
Dave Mc Nicoll
bbfd7c02b4 - WIP on SearchAttributes supporting Request's attributes 2024-06-04 13:33:48 +00:00
Dave Mc Nicoll
bd9078230d - Multiple bug fixes related to notes 2.x 2024-05-31 12:26:39 +00:00
f3be11a590 - WIP on notes 2.x 2024-05-28 08:59:12 -04:00
75231f32b3 - WIP on Notes v2.x 2024-05-09 19:49:27 +00:00
Dave Mc Nicoll
1dd9da6eb6 - Fixes done for QueryBuilderInterface 2024-04-24 11:23:10 -04:00
Dave Mc Nicoll
9fdebf454d - Started working on decoupling QueryBuilder from SqlQueryBuilder
- WIP on SearchRequest attributes
- Began working on removing 'Ulmus' class
- WIP on removing SQL query building from Repository (which will become SqlRepository)
2024-04-17 15:54:48 -04:00
Dave Mc Nicoll
ea667db552 - Testing another boolean handling method 2023-11-20 15:24:23 -05:00
Dave Mc Nicoll
afe5144dc7 - Added a new value binding methods 2023-11-20 15:21:17 -05:00
62792e8325 - Fixed a bug within INSERT query 2023-11-17 23:34:55 -05:00
Dave Mc Nicoll
9a9f473f3f - PDO Params are now properly (mostly..) binded, bool, null and int are now handled correctly 2023-11-17 16:00:29 -05:00
6c6733b503 - Merging.. 2023-10-31 14:40:02 +00:00
e641bc321d - SQLite pragma handling was not applied ; fixed 2023-10-31 14:37:46 +00:00
Dave Mc Nicoll
8e0dce3e71 - Still WIP on Api's wrapper 2023-10-27 18:33:48 -04:00
1927b43999 - Some overdue modification made to allow more flexibility 2023-10-27 17:53:55 +00:00
Dave Mc Nicoll
bd61522a07 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-04-13 15:39:21 -04:00
Dave Mc Nicoll
f3712c9cc7 - Changed returned object from PdoObject runQuery method correcting 'Creation of dynamic property PDOStatement:: is deprecated' 2023-04-13 15:39:16 -04:00
cfaebbecc4 - Minor enhancements 2023-04-05 17:42:02 +00:00
eb6434bb72 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2023-03-30 15:24:58 +00:00
2ad52aba85 - WIP on Alter table for lean-console 2023-03-30 15:24:48 +00:00
Dave Mc Nicoll
3c5aa51850 - WIP on PHP 8.2 conversion 2023-03-29 11:30:46 -04:00
58bdce0ea8 - Some small bugfixes done 2023-03-23 14:56:13 +00:00
Dave Mc Nicoll
c9c6a11ebd - Fixed a bug caused by the addition of Attributes (on Ignore tags) and ajusted the EntityTrait with it 2023-02-08 16:37:48 +00:00
e6d0279c1a - WIP on attributes ; on testing phase 2023-01-26 13:25:59 +00:00
e97df353ae - Prepping 8.1 migration 2022-07-18 16:18:29 +00:00
00ebf3381f - Completed merge 2022-07-15 19:59:38 +00:00
Dave Mc Nicoll
325704260b - Fixed conflicts 2022-04-13 03:38:57 +00:00
Dave Mc Nicoll
16d76470da - A lot of bugfixes and fitting to accomodate ldap adapter 2022-04-13 03:31:48 +00:00
c14644cdda - A lot of work done on bug fixing. Added a new SQLite adapter 2022-01-28 16:37:35 +00:00
Dave Mc Nicoll
f14347f01d Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2021-11-24 16:36:13 +00:00
Dave Mc Nicoll
2210853093 - Added a missing return from newly created items in save() ; also added a count in saveAll() method allowing to know how many items were saved 2021-11-24 16:22:28 +00:00
e4767f7c09 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2021-10-21 19:32:12 +00:00
9ad2e94d12 - Work done on Ulmus which were added within the Bottin de suppléance app 2021-10-21 19:02:59 +00:00
Dave Mc Nicoll
dc5e088551 - Some bugfixes were made, added a new diff before saving results. Also, a new method was added for insert, update and delete respectively for other drivers to override as needed 2021-10-19 12:41:04 +00:00
Dave Mc Nicoll
7fb591e1f5 - A lot of fixes made again in this patch 2021-05-24 20:03:38 +00:00
1469d167c4 - Added a closure on key to EntityCollection buildArray method.
- Some bugfixes done.
2021-03-29 20:01:31 +00:00
317d62ceaa - Some more work done to allow more flexibility for other plugins 2021-03-24 13:48:09 +00:00
3905047111 - A lot of bugfixes, mainly with escaping (still working on it to get 100% coverage) 2021-03-15 13:42:52 +00:00
16c6eb57fb - Added a MssqlRepository
- Adapter some code to allow more flexibility for the new LDAP adapter from ulmus-ldap.
- Insert's fields are now escaped by default.
- A new RelationBuilder was added, a lot of code from the EntityTrait was moved into this. Some code from the Repository class will need to be moved there too.
2021-03-01 16:26:06 +00:00
e465ecdf32 - Work done on Join and using the @Relation annotation in case there is no join.
- Added some field type (date, Datetime, Time)
- Added a new @Filter annotation which allows to filter repository from relation into a method.
2021-01-26 16:48:40 +00:00
Dave Mc Nicoll
f74d1907d9 Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus 2020-11-27 12:21:10 -05:00
Dave Mc Nicoll
30a0a80cbe - Added some new method to EntityCollection (replaceWith, mergeWith, randomize, sort)
- WIP on virtual fields
- Some minor bugfixes
2020-11-27 12:09:15 -05:00
bcbf65e0b3 - Fixed in the query builder (still a big WIP) 2020-10-20 19:40:44 +00:00
efa957fe58 - Merged stash after pull 2020-10-16 15:27:54 +00:00
Dave Mc Nicoll
139504f8dd - Added the HAVING and TRUNCATE keyword
- Fixed GroupBy which was not implemented yet
- Added a new SQL raw() function
- From statement now accepts subqueries
2020-10-06 11:00:12 -04:00
Dave Mc Nicoll
4d221859fc - Added Events to repository and entitytrait objects. Some more work to be done on this.
- Diverses bug fixes linked to join and relations
- Field date and datetime are now outputed using given locale.
2020-05-20 15:34:50 -04:00
Dave Mc Nicoll
026a0f4f83 - Fixed the QueryBuilder's escaping problem - adapters are now responsible for escaping identifiers.
- Added a MsSQL offset query fragment. There is still a problem with the way the Repository must act within another adapter.
2020-04-14 09:47:09 -04:00
Dave Mc Nicoll
3ff97f3bf0 - Added identifier escaping to match differents PDO drivers 2020-04-09 13:20:07 -04:00