1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Commit graph

30 commits

Author SHA1 Message Date
J. King
6c11c9e485 Fix Debian bugs 2021-07-10 22:47:34 -04:00
J. King
ad32bf3340 Style fixes 2021-07-05 21:47:44 -04:00
J. King
c49cb72528 Fail gracefully when extensions are missing
This still needs tests
2021-07-05 20:57:05 -04:00
J. King
e160189224 Handle exceptions from child processes 2021-07-05 20:57:05 -04:00
J. King
e9394e8599 More forking tweaks 2021-07-05 20:57:05 -04:00
J. King
0bb5e916d2 Test PID writing 2021-07-05 20:57:05 -04:00
J. King
2767ab755e Use D modifier in pattern 2021-07-05 20:57:05 -04:00
J. King
a4036afbf8 Partial tests for PID file reading 2021-07-05 20:57:05 -04:00
J. King
32c9d761c3 Clean up more exceptions 2021-07-05 20:57:05 -04:00
J. King
5b3e8fbef0 Refine some exceptions 2021-07-05 20:57:05 -04:00
J. King
b9fd9ac32e Tweaks 2021-07-05 20:57:05 -04:00
J. King
23749b51aa Tests for path resolution 2021-07-05 20:57:05 -04:00
J. King
bab64add9b Separate PID conflict checking from PID claiming 2021-07-05 20:57:05 -04:00
J. King
f1c29c99c7 Finish testing PID file path checking 2021-07-05 20:57:05 -04:00
J. King
59cf27089a More daemon cleanup 2021-07-05 20:57:05 -04:00
J. King
4e1193bab2 Move forking daemon support code to own class 2021-07-05 20:57:05 -04:00
J. King
32e04e3938 Move forking and related to Service class 2021-07-05 20:57:05 -04:00
J. King
71c7cd8fb1 Full coverage! Fixes #66 2019-10-19 18:51:01 -04:00
J. King
9120d3b3e3 Correctly escape shell command in subprocesds service driver 2019-01-23 09:32:44 -05:00
J. King
37131d3775 Remove non-functional curl service driver for now
Its requiring extensive configuration to function makes me disinclined
to revive it, though it may nevertheless happen.
2019-01-23 09:19:26 -05:00
J. King
5cd84c4ab4 Validate configuration parameters on import, and other changes
- Each parameter is checked for type and normalized
- Interval strings are converted to DateInterval objects
- Timeouts can be specified as interval strings
- Most intervals can be null to signify infinity
- Driver classes are checked that they implement the correct interface
- Short driver names may be used, and are used by default
- Helpful errors messages are printed in case of erroneous configuration

Exporting is currently broken; this will be fixed in an upcoming commit
2019-01-20 22:40:49 -05:00
J. King
f64f0c6a22 Whitespace cleanup 2018-10-26 14:58:04 -04:00
J. King
11b2066922 Added per-file legal boilerplate
Includes PHPDoc license tag in the file-level block with accompanying copyright notice.

Also added an AUTHORS file on the off chance of outside contributions
2017-11-16 20:23:18 -05:00
J. King
f7e50fe95d Passed code through linter 2017-08-29 10:50:31 -04:00
J. King
da80a8ffa6 Complete tests for database driver
- Fixes #62
2017-07-22 15:29:12 -04:00
J. King
1b970cc7c5 Experimental forking service and accompanying CLI
- Improves #48, #57, and #61
2017-07-21 17:15:43 -04:00
J. King
d3bca6eb47 More code coverage accommodation 2017-07-20 22:40:09 -04:00
J. King
da092d5f8c Changed Misc\DateFormatter to a collection of static methods and renamed it to Date; renamed Data to Arsse to avoid confusion and better reflect its centrality 2017-07-17 07:47:57 -04:00
J. King
bfde232870 Experimental curl-based Service driver
Probably it's not yet functional
2017-07-16 14:56:43 -04:00
J. King
6d4aa4db6e Minimally functional, highly experimental, working server
- Basic update service handles only one feed at a time and possibly leaks memory
- Output for REST requests is still very basic
- No avatar support
- No reporting of whether cron works
- No cleanup before or after feed updates
2017-07-15 16:44:06 -04:00