Commit Graph

641 Commits

Author SHA1 Message Date
420c34aec2 mostly docs 2021-08-29 10:50:31 +02:00
eac68f4185 bug fixes and template adjustments 2021-07-31 17:20:50 +02:00
522db1d462 fix bugs and start impl. additional functions 2021-07-17 21:12:01 +02:00
580460dc11 fix phpstan/phpcs 2021-06-26 14:38:08 +02:00
930f7c8e86 add indirect relations 2021-06-23 23:57:28 +02:00
Formatter Bot
3226150ee5 Automated formatting changes 2021-06-05 09:10:27 +00:00
2e4af70139 bug fixes 2021-06-05 11:02:50 +02:00
Formatter Bot
c97b516378 Automated formatting changes 2021-04-04 15:16:03 +00:00
67f969a6b8 many fixes and expands and module expansions 2021-04-04 17:10:53 +02:00
02313d3a33 draft ::with() function for models 2021-03-11 21:23:41 +01:00
Formatter Bot
3c2cd68edf Automated formatting changes 2021-03-07 20:44:06 +00:00
9272af316b fix formatting/debugging 2021-02-20 21:18:12 +01:00
Formatter Bot
85c9e50390 Automated formatting changes 2021-02-06 12:51:28 +00:00
244672c64e Merge branch 'develop' of https://github.com/Orange-Management/phpOMS into develop 2021-02-06 13:47:19 +01:00
22cd674189 improve country handling 2021-02-06 13:47:12 +01:00
Formatter Bot
b61ffa7235 Automated formatting changes 2021-01-31 16:16:50 +00:00
bc7fe194c7 better sql error handling and new request data get function 2021-01-23 12:29:02 +01:00
f619b2eee9 optimze if 2020-12-20 20:00:00 +01:00
fe58dd74e8 fix relation bug 2020-12-19 20:27:58 +01:00
9a3d200253 fix templates 2020-12-06 16:14:42 +01:00
3fc7c0c233 try to fix static return 2020-12-05 21:58:26 +01:00
440d00ec6b try to fix static return 2020-12-05 21:57:38 +01:00
4a9233c949 try to fix static return 2020-12-05 21:57:33 +01:00
fb295292be update composer and fix bugs 2020-12-05 19:39:56 +01:00
Formatter Bot
5ba685e12b Automated formatting changes 2020-12-04 12:08:47 +00:00
fdd8518474 bump php version 2020-12-03 23:07:33 +01:00
0f1a799014 implement php 8.0 types 2020-12-03 22:39:56 +01:00
2bfb2c1329 start impl. php 8.0 typehints 2020-12-03 20:49:09 +01:00
6ac2d4d0e8 fixes 2020-11-30 21:13:06 +01:00
1e19f72fc4 fix datamapper bugs 2020-11-29 18:29:35 +01:00
6443ab6c14 fix tests 2020-11-28 19:26:40 +01:00
1ed4f3f5e2 phpcs fixes 2020-11-28 00:13:12 +01:00
aaf34cd373 phpstan fixes 2020-11-27 22:56:16 +01:00
f9e71e5a9e minor structure optimizations 2020-11-26 21:57:58 +01:00
843d97c632 fix todos/move to todo list 2020-11-26 20:50:18 +01:00
86d62a1bb5 remove some getter/setter 2020-11-24 17:31:21 +01:00
1d5b727465 fix uri building bug and conditional loading bug 2020-11-15 21:12:05 +01:00
01a2e984ad Merge branch 'develop' of https://github.com/Orange-Management/phpOMS into develop 2020-11-10 22:17:35 +01:00
5cc7030b85 auto format 2020-11-04 20:42:06 +01:00
2a3d273f99 added get by parent function 2020-11-04 20:41:47 +01:00
Formatter Bot
33cfc8e4d8 Automated formatting changes 2020-10-25 22:15:36 +00:00
5aa0276f11 cs and phpstan fixes 2020-10-24 17:53:54 +02:00
98a7ccbae8 Merge branch 'develop' of https://github.com/Orange-Management/phpOMS into develop 2020-10-21 23:21:18 +02:00
c2334057b3 change self/external behaviour / invert it! 2020-10-21 22:32:33 +02:00
3df0d1463a update path fixes 2020-10-21 19:36:37 +02:00
3e0d7ec68b add db formats 2020-10-21 19:31:42 +02:00
306f57c4d0 add todos 2020-10-18 20:48:19 +02:00
8fc34ef870 add sqlsrv and fix system escaping 2020-10-11 18:57:21 +02:00
d1e8a0800f impl. sqlsrv and fix 64bit bugs 2020-10-11 15:37:20 +02:00
ef2ad3d19f fix delete bug 2020-10-06 21:49:12 +02:00
c15c9b8b09 JIT db connection implemented 2020-09-12 23:13:58 +02:00
bea2d1ed0b implement immutable datetime 2020-09-10 20:18:02 +02:00
6035870c1f add date time immutable 2020-09-06 21:12:33 +02:00
ace6e49380 test improvements 2020-09-02 20:39:14 +02:00
28c9ec6a6c fix const alignment 2020-09-01 07:38:03 +02:00
593cc1c105 fix extra blank lines 2020-08-31 22:54:13 +02:00
a559cb4e2e php cs autofix 2020-08-31 22:30:49 +02:00
71bb333aa4 autofixes 2020-08-30 20:13:11 +02:00
1826cc865b improve php-cs-fixer rules 2020-08-29 17:21:30 +02:00
16961aaff6 fix array mapping bug 2020-07-31 18:40:30 +02:00
69728b23de inspection fixes 2020-07-31 18:13:59 +02:00
a91ee19ff8 draft alter functionality 2020-07-22 09:50:12 +02:00
29e448c3bd adjust conditional impl. This now allows to use conditionals without a column reference 2020-07-05 22:09:39 +02:00
53657299a7 fix creating conditional elements 2020-07-04 17:43:33 +02:00
9947c203fb fixed bug with null models 2020-06-13 15:16:03 +02:00
452e541ecd fix bug where nullmodels would break updating 2020-06-12 18:21:16 +02:00
1cb038fbc2 fix update bug/depth. Update should be deeper than just 1 level 2020-06-12 17:40:24 +02:00
0cee08b087 fix broken getForArray implementation 2020-06-11 23:39:19 +02:00
b7cb3c6a7c support different comparison operators 2020-06-11 12:28:53 +02:00
e8b91fac09 fix bug where relations were still used for depth parameter 2020-06-11 10:52:05 +02:00
d2ab4feda0 fix cs 2020-06-11 09:39:08 +02:00
a2d92442b6 re-add populateIterable, apperently it is used :( 2020-06-10 22:47:10 +02:00
75df581156 fix bug where caching didn't consider the depth of the cached model, however it feels now slower 2020-06-10 21:49:48 +02:00
e5d32ec503 add some todos and thoughts about datamapper improvements 2020-06-08 23:28:52 +02:00
2ef8f17eb2 add conditionals filter for specific models 2020-06-08 22:39:59 +02:00
50743fecf0 fix tests 2020-06-08 18:20:24 +02:00
3801c29cf6
Fix cs NO_CI 2020-06-08 09:49:45 +02:00
360d0249b1
Fix cs NO_CI 2020-06-08 09:49:33 +02:00
944c947e3b
Fix cs NO_CI 2020-06-08 09:49:23 +02:00
918659c3ea
Fix cs NO_CI 2020-06-08 09:49:06 +02:00
3db14eb5b6 make db connection throw less exceptions 2020-06-07 22:24:24 +02:00
a0bb408b6a autoformat 2020-06-07 13:40:37 +02:00
358d981c2b don't run join queries again in fillRelation 2020-06-07 13:40:21 +02:00
f4b061ee8a add issue information 2020-05-22 17:32:48 +02:00
bbdd04b36e add tests and fix bugs 2020-04-18 18:33:48 +02:00
c35bccd8c0 fix issue repo 2020-04-05 17:08:51 +02:00
d5643868b6 add todo/question for global conditionals 2020-03-31 19:00:58 +02:00
9e96b89aa0 fix relation population 2020-03-31 18:23:46 +02:00
3997d9563e fix ownsOne and belongsTo hasMany relationships 2020-03-30 22:12:49 +02:00
a72e781e02 Don't load default value if default value is not set 2020-03-28 17:26:51 +01:00
e83574a452 fix db bugs 2020-03-28 17:16:05 +01:00
7300b52d25 bugfix datamapper joins 2020-03-28 16:22:32 +01:00
c720655d3f fix unit tests 2020-03-25 19:30:48 +01:00
7412a2cc0a fix conditional value type 2020-03-24 18:02:00 +01:00
199b13ad75 optimize model selection 2020-03-22 17:06:27 +01:00
b6c4f1e4bc fix phpstan 2020-03-14 20:32:16 +01:00
0e5e967920 fix phpcs 2020-03-14 20:07:03 +01:00
dcfc61e7a9 fix findquery 2020-03-14 19:50:13 +01:00
d81bf80ada bug fixes after datamapper changes 2020-03-14 17:58:43 +01:00
7a5fad6659 fix whitespace 2020-03-14 09:47:09 +01:00
e7e298620d Merge branch 'develop' of https://github.com/Orange-Management/phpOMS into develop 2020-03-14 00:18:03 +01:00
489752602f autofix 2020-03-14 00:17:17 +01:00
7163328a59 closes ##73 2020-03-14 00:17:07 +01:00
13326b6aea remove unused keys 2020-03-14 00:07:57 +01:00
bd927133d7 fix where query usage 2020-03-14 00:06:33 +01:00
b1e3eac74c start re-implementing conditional handling 2020-03-13 23:57:42 +01:00
Formatter Bot
61b816fcd7 Automated formatting changes 2020-03-13 22:34:19 +00:00
250bb48c9c autofix 2020-03-13 23:32:09 +01:00
4937fdb9f7 fixes #220 and fixes #102 2020-03-13 23:31:58 +01:00
3b740eae3c autofix 2020-03-12 18:15:51 +01:00
686d09a599 Fix dependency resolution 2020-03-12 18:15:32 +01:00
3b24e6c3d7 remove db prefix 2020-03-12 18:11:43 +01:00
3439fd57ff remove db prefix 2020-03-12 18:11:04 +01:00
1fdb93968a autofix 2020-03-07 19:49:16 +01:00
e5baf46dce optimize code readability and perforamnce 2020-03-07 19:48:58 +01:00
2a8ece6fcc Type and cs fixes 2020-03-07 00:23:22 +01:00
55182c4138 fixes #222 2020-03-06 23:12:59 +01:00
3f68bbad63 Started implementing #222 read is already working 2020-03-06 23:09:57 +01:00
e16ad97838 phpcs fix 2020-03-05 22:51:41 +01:00
c3f4ba80bb remove todos #224 and #212 2020-03-05 22:15:09 +01:00
1594a88daf fixes #224 and fixes #212 2020-03-05 20:37:03 +01:00
5048008be6 theoretical bug fixes and style improvements 2020-03-04 00:08:50 +01:00
23e28feae2 start working on #212 2020-03-03 22:28:37 +01:00
39db344ebd php cs and stan fixes 2020-03-02 22:49:33 +01:00
37144b9a9f fix writeonly for has many 2020-02-20 19:18:03 +01:00
ea7d504f95 fixes #238 2020-02-20 19:06:50 +01:00
9be83af3c9 fix array typehint 2020-02-20 18:59:49 +01:00
9a0698ae07 fixes #238 2020-02-20 18:55:04 +01:00
01837d3755 add tests 2020-02-19 22:24:58 +01:00
0ff97e74ff auto fixes 2020-02-16 19:55:34 +01:00
4b95814719 add cursor pagination 2020-02-16 19:55:15 +01:00
f4ae141981 fixes Orange-Management/Modules#135 2020-02-15 02:00:46 +01:00
135f3f08e4 fixes #162 implemented previously 2020-02-14 18:36:47 +01:00
f28515fcf1 fixes #237 2020-02-08 22:31:48 +01:00
Formatter Bot
babbca7fcc Automated formatting changes 2020-02-08 15:51:35 +00:00
86b0d62a54 implement unique 2020-02-08 16:48:07 +01:00
0e0264ad35 improve array docblock 2020-02-08 13:25:48 +01:00
8710adad62 fixes #234, fixes #189 2020-02-08 12:42:48 +01:00
56a980d2ea fix bug 2020-02-07 23:33:22 +01:00
f8f85b0092 remove issue todos 2020-02-07 23:20:54 +01:00
3c8a8c31d5 remove todos 2020-02-07 21:51:55 +01:00
b9bc5bbe64 fix #235 2020-02-07 21:41:32 +01:00
d20a6b9e8d Implement getBy 2020-02-07 20:37:26 +01:00
4107551a09 fixes #214 2020-02-07 19:20:05 +01:00
6c917b5486 phpstan/array typehint fixes 2020-02-05 21:09:31 +01:00
2b3de00f4c
Don't use use for Throwable NO_CI 2020-02-05 16:28:55 +01:00
5e0a6a0fd6
Fix missing docblock components NO_CI 2020-02-05 15:49:51 +01:00
dfba5f1021 start implementing array{} typehint 2020-02-04 21:52:59 +01:00
47cd969f10 add todo and fix docblock 2020-02-04 19:50:41 +01:00
85b8bbec04 Allow obj relations 2020-02-02 15:49:59 +01:00
a49251c0bb phpcs fix 2020-01-26 12:27:35 +01:00
89f9d0c2f3 fix self -> static return types 2020-01-26 12:03:12 +01:00
5d43137f3c fix todo comments 2020-01-12 17:57:18 +01:00
13fe7f1061 continue optimizing todos 2020-01-05 21:39:24 +01:00
a75025c1a0 cleanup todos 2019-12-31 23:36:41 +01:00
4414fad940 add todos from github 2019-12-31 19:54:35 +01:00
ca064b75d2 remove stupid initializations and optimize types 2019-12-22 10:37:07 +01:00
792fcf900a fix phpcs 2019-12-21 22:05:53 +01:00
db48bcdb8d fix phpstan bugs 2019-12-21 20:51:20 +01:00
f704dfdeff fix typos found due to testing 2019-12-21 16:01:55 +01:00
1262310af9 remove debugging 2019-12-21 15:52:25 +01:00
3dd0c0516d fixes #217 2019-12-21 15:50:03 +01:00
ab385bfbb5 remove empty line 2019-12-15 14:17:43 +01:00
2350b6cf53 improve tests 2019-12-07 18:38:17 +01:00
86f77e0a5e cleanup and tests added for ci/cd 2019-11-20 22:27:43 +01:00
d706b8b320 test fixes 2019-11-14 17:45:05 +01:00
7fece66ef6 cleanup tests and add new tests 2019-11-10 22:38:11 +01:00
090b30bb58 cleanup 2019-11-03 23:22:45 +01:00
18c11fb229 bug fixes and implement some incomplete tests 2019-10-31 21:03:34 +01:00
baf2218980 Bug fixes 2019-10-21 15:38:15 +02:00
23fe8d2124 Add try/catch to find hr invalid bytecode escaping 2019-10-19 13:12:12 +02:00
7c71b023c7 fixes, spline interpolation added 2019-10-16 17:35:10 +02:00
479facee52 Implementd query aliases 2019-10-13 20:38:25 +02:00
85abb6c520 fix bugs and implement more sort algs 2019-10-11 16:40:09 +02:00
89c6ba3ac0 continue phpcs fixes 2019-10-10 12:00:54 +02:00
b9d0e63beb phpcs fixes + continue distribution implementations 2019-10-09 17:15:12 +02:00
0422411c89 phpstan fixes 2019-10-07 22:22:41 +02:00
0f11df6f95 Change encoding to real utf8 2019-10-05 19:59:53 +02:00
a51be51c03 fix docblock 2019-09-21 16:12:30 +02:00
6336898978 fix phpcs findings 2019-09-12 19:46:27 +02:00
26383f1cde test fixes 2019-09-09 19:51:35 +02:00
e12ad5212d Merge localization datamapper support (not finished yet) 2019-09-03 21:01:31 +02:00
743ba4a937
Implement missing conditional functionality (delete, update) 2019-09-03 15:38:09 +02:00
bb1aa4044a
Draft conditional data 2019-09-03 14:49:42 +02:00
7b1cf0e660 fix after change to php 7.4 2019-08-17 14:14:58 +02:00
b4084913de Implement php 7.4 type hints 2019-08-15 21:54:59 +02:00
eb7dbe4663 start implementing php 7.4 2019-08-15 20:44:04 +02:00
0ca13206fe fix datetime value bug 2019-08-10 23:16:27 +02:00
c10708ee23 fix @link 2019-07-08 19:51:19 +02:00
93a972eb55 static analysis fixes 2019-06-06 21:43:45 +02:00
8f0688f46d Fix depth bug 2019-05-25 11:16:10 +02:00
5965f2a4ca bug fixes and better response handling 2019-05-07 20:00:30 +02:00
c799124d12 php cs fixes 2019-04-27 10:34:00 +02:00
4cdfab275e Use global namespace 2019-04-27 00:13:34 +02:00
35d47c7a53 Add getter 2019-04-22 16:31:20 +02:00
34c2673504 Fix missing column 2019-04-14 18:38:07 +02:00
20d18c8ba8 Fix data check 2019-03-17 13:57:33 +01:00
169d361522 test and fix schema builder 2019-02-26 21:42:17 +01:00
0bd6cb95f5 test and fix schema builder 2019-02-26 21:41:52 +01:00
6e2bfebc60 Fix json template validation bugs 2019-02-25 23:56:58 +01:00