Commit graph

187 commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece
c4d22bbe7d
Fix error in Router; implement new annotation lookup in App. 2020-09-07 05:10:21 -05:00
Buster "Silver Eagle" Neece
710a291950
Directly support route annotations via Doctrine annotation reader. 2020-09-07 04:47:25 -05:00
f5eaff1961 Make phpstan happier 2020-09-02 20:14:56 +02:00
a5c8fff889 Make phpstan happier 2020-09-01 18:52:53 +02:00
3dd033cfb7 Make phpstan happier 2020-09-01 18:41:34 +02:00
99007d8208 Make phpstan happier 2020-09-01 18:31:46 +02:00
d9382954bc Make phpstan happier 2020-09-01 05:15:02 +02:00
8ec035c2ce Make phpstan happier 2020-08-31 20:57:20 +02:00
3d09cf71fb Cleaned 2020-08-27 19:25:48 +02:00
2e68d4779f 404 code. 2020-08-27 19:24:10 +02:00
34a7f8e5a6 Add twig extension to handle instanceof from inside twig. 2020-08-27 03:34:52 +02:00
0a88fdeddb Cleaned 2020-08-25 23:46:39 +02:00
870152c6df Remove APP_CORE_NAME related obsolete code. 2020-08-24 18:58:21 +02:00
b4ea0ad8a6 Rejigging router, fixing running tests with slim4 2020-08-06 19:49:15 +02:00
Buster "Silver Eagle" Neece
df6435ff3c
Update Queue so it's first-in first-out 2020-08-04 15:25:55 -05:00
cda5024211 Suppress missing header when running tests. 2020-08-03 20:53:56 +02:00
f2587fc185 Comment out some excessively verbose debug. 2020-08-03 20:42:28 +02:00
a5074e695d Stricter php-cs-fixer rules. These remove a lot of superfluous duplicitous rubbish, mostly in docblocks. 2020-07-31 23:15:09 +02:00
e9519be717 Revise loading of routes to support @domains tag that only loads these routes for specific domains. To enable multisite behaviour. 2020-07-31 23:10:39 +02:00
036d067757 Revise obsolete use of \Twig_Filter to Twig\TwigFilter 2020-07-31 14:53:30 +02:00
1f53b40821 Make PHPStan Happier 2020-07-31 02:35:27 +02:00
cf6b6e409d Debugbar implementation. 2020-07-27 04:44:36 +02:00
c9ac9ca1c7 Fix return type bug. 2020-07-27 03:36:42 +02:00
1e5b7ff188 Remove Router static access, add caching to redis. 2020-07-27 03:31:04 +02:00
d371e37dc1 Remove indirect usage of Container. 2020-07-27 02:35:26 +02:00
be0360fb4e Cleanup 2020-07-27 02:14:52 +02:00
233f0d3249 Fix a debug output readability 2020-07-27 02:11:19 +02:00
fdb0c0c0fd Remove obsoleted middlewares. Enable some sensible defaults. 2020-07-27 02:10:21 +02:00
9736b4e1c0 Automated cleanup 2020-07-26 17:08:35 +02:00
Buster "Silver Eagle" Neece
94741a2461
Prevent session handler from being run on CLI. 2020-07-23 20:05:32 -05:00
a2529fd896 Working T&C and PrivacyPolicy pages. Needs content. 2020-07-22 00:42:42 +02:00
fdd5544c12 Add some more twig extensions, and working language support. 2020-07-21 21:39:19 +02:00
4993214069 Fix legacy reference to 'view' which should be Twig::class 2020-07-21 21:38:29 +02:00
fdafd97ac7 Cleaning 2020-07-21 21:38:09 +02:00
acce4e3bc1 Better session status detection 2020-07-21 21:32:55 +02:00
d29864f6c5 Working translation support. 2020-07-21 19:59:21 +02:00
1f1d106447 Automated cleaning 2020-07-21 19:27:21 +02:00
941ee91d84 Initial translation support. Thanks Symfony! 2020-07-21 19:26:52 +02:00
3c20195b30 Add has() function to session 2020-07-21 19:26:40 +02:00
0d16cdffdd Improving test run-ability. Still need to refactor RoutesTestCase.php because it depends on Slim3 era code that no longer works. 2020-07-21 03:32:47 +02:00
b76d66e095 Automatic cleaning 2020-07-21 03:02:52 +02:00
fae28a35ec Implement serializable properly. 2020-07-20 20:45:27 +02:00
Buster "Silver Eagle" Neece
1960905877
Log the exception message too. 2020-07-17 02:35:39 -05:00
Buster "Silver Eagle" Neece
80e5359a9f
Fix type hinting disagreement between QueueService and AbstractQueueWorker. 2020-07-17 02:30:01 -05:00
Buster "Silver Eagle" Neece
f6210b2bee
In case of exception, log error and put back in queue. 2020-07-17 02:23:02 -05:00
Buster "Silver Eagle" Neece
322c02ed79
Make WorkItem implement Serializable (for consistency with args downstream). 2020-07-16 18:12:54 -05:00
Buster "Silver Eagle" Neece
2fa8ae764f
Update return pattern for process() so it allows arrays. 2020-07-16 18:12:24 -05:00
Buster "Silver Eagle" Neece
c4854f78d9
Don't pop an item onto the output queue if null is returned. 2020-07-16 17:44:44 -05:00
57a987874d Add getTimeBetweenRuns/setTimeBetweenRuns function 2020-07-15 07:24:54 +02:00
5e7bd98854 Cleanup. 2020-07-10 08:39:04 +02:00
4b05e9ea1d Make using twig cache optional 2020-07-10 05:02:39 +02:00
5fcb927b5a Supress screaming from mkdir. 2020-07-10 02:03:52 +02:00
c5345a89f5 Make cache path definable, move to /cache from /app/cache. Doesn't need to be in runtime code. 2020-07-09 19:47:27 +02:00
1e5dca2eb3 Make it possible to extract what was just processed from the worker. Mostly needed for testing. 2020-07-07 18:46:34 +02:00
486dd43ded Cleaning 2020-07-07 18:46:07 +02:00
1353110c29 Swap to using App::DI instead of App::Instance()->get 2020-07-07 18:45:26 +02:00
7af588df43 Add convenience WorkerWorkItem::Factory() function. 2020-07-07 18:28:04 +02:00
fd4239ae57 Cleanup 2020-06-25 16:52:04 +02:00
5a40567697 Fixed redis ineractions. 2020-06-25 16:32:40 +02:00
b2968edb77 Added abstract function stub for process() 2020-06-24 19:49:56 +02:00
7068856178 Double-startup to fix booting with the wrong app core. 2020-06-24 17:30:27 +02:00
275d47d35b Cleanup 2020-06-24 17:06:22 +02:00
4bfecc524e On-demand loading of scripts into redis. Added some more script options. 2020-06-24 16:33:31 +02:00
a5129c629c Redis wrapper and lua extension loader. 2020-06-24 15:11:05 +02:00
4dd66a67c5 Old app kernel reference 2020-06-24 12:17:16 +02:00
3b78eadd3b Fixed session persistance 2020-06-23 18:33:10 +02:00
336a5f41bf Progress towards slim4/php-di etc 2020-06-22 21:38:55 +02:00
a242c4e924 Configure router after di 2020-06-22 13:46:35 +02:00
6adb6d5d42 Fixing PHPStan issues. 2020-06-19 09:53:59 +02:00
c0694a72e8 Cleaned codebase. 2020-06-18 19:24:31 +02:00
40950feb27 Big cleanup 2020-06-18 19:11:14 +02:00
049814387a Changing how database connections are held. Adding phinx stuff. 2020-06-16 12:47:20 +02:00
ad8dc7fa6c Moving in Controller Abstracts and Worker related stuff 2020-06-16 10:22:47 +02:00
5cc0ae9045 Remove commented out code. 2020-06-15 09:49:04 +02:00
edcdbf0e6f Working building. 2020-06-15 08:19:42 +02:00
be507e0d4c Hack n' slash rework. 2020-06-12 15:57:36 +02:00
73a133097d Initial rework. 2020-06-12 10:09:02 +02:00
1ebf1b930b Credits and time tracking. 2020-05-24 18:03:18 +02:00
e6bb255d1e Merge branch 'master' of https://github.com/benzine-framework/benzine-core 2020-05-18 08:18:44 +02:00
44ba14dc7d Add support for interrogating /etc/timezone. 2020-05-14 22:11:54 +02:00
704854b6f1 Postgres support. 2020-05-10 18:58:30 +02:00
WolfGang
4b891e1a45 allow generic argument setting 2020-04-01 17:21:36 +01:00
d2a7c4d588 Cleanup 2020-02-27 10:52:35 +01:00
68c07b023f Getting closer to downloads working 2020-02-24 22:34:42 +01:00
19f9f2726d support overriding the charset and driver 2020-02-24 17:53:34 +01:00
6cd0599e31 Adding exceptions to core 2020-02-24 15:16:08 +01:00
570067147a Core initial commit 2020-02-24 13:34:31 +01:00