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

41 commits

Author SHA1 Message Date
J. King
560d4db139 Remove Diactoros in favour of Guzzle PSR-7
For now this only adds convenience wrappers around Guzzle to somewhat
emulate Diactoros (albeit with a different API). Code and tests will be
adjusted in due course.
2022-08-04 09:26:17 -04:00
J. King
b5579d6e43 Support PHP 8.1 2022-01-11 17:54:02 -05:00
J. King
ad32bf3340 Style fixes 2021-07-05 21:47:44 -04:00
J. King
c9a2393a4e Note requirement for filter extension 2021-07-05 20:57:05 -04:00
J. King
9b369d902f Update tooling for PHP 8 2021-02-25 14:49:17 -05:00
J. King
6ee7ca4aa4 Update PicoFeed to latest release version 2020-09-15 08:45:49 -04:00
J. King
1d514e4739 Remove forked picofeed repository 2020-02-16 17:37:13 -05:00
J. King
e583ffea67 Start on integrating well-maintained picofeed fork
Picofeed configuration does not seem to get passed to Guzzle.
2020-01-21 08:42:38 -05:00
J. King
2fa2799b64 Require PHP 7.1 in Composer
In reality we have unwittingly required PHP 7.1 for some time
2020-01-20 00:34:02 -05:00
J. King
2aa16f3405 Merge branch 'fever' into opml 2019-07-24 14:04:04 -04:00
J. King
61abf7ee7c Upgrade to Diactoros 2.x 2019-04-09 16:15:36 -04:00
J. King
17fd909335 Add DOM extension as a direct dependency
Previously it was already a dependency of PicoFeed,
so there's effectively no change
2019-03-29 10:15:30 -04:00
J. King
bc8d443d84 Change PicoFeed dependency to a maintained variant 2019-01-23 12:36:43 -05:00
J. King
aa1b65b5d4 Take a different tack on shared database tests
Tests for different drivers will have their own files, but all derive
from a common prototype test series where applicable, similar to the
existing arrangement for database function tests. However, the prototype
will reside with other test cases rather than in the library path. The
database function test series will hopefully be moved as well in time.
2018-11-22 13:55:57 -05:00
J. King
9eadd602bd Replace Response objects with PSR-7 response messages; improves #53
While the test suite passes, this commit yields a broken server: replacing ad hoc request objectss with PSR-7 ones is still required, as is emission of PSR-7 responses. Both will come in subsequent commits, with tests

Diactoros was chosen specifically because it includes facilities for emitting responses, something which is awkward to test. The end of this refactoring should see both the Response and Request classes disappear, and the general REST class fully covered (as well as any speculative additions to AbstractHanlder).
2018-01-03 23:13:08 -05:00
J. King
c8f012c5fc Add Composer description 2017-12-07 17:33:45 -05:00
J. King
e6607453bc Disentangle Composer dev dependencies 2017-12-07 15:09:03 -05:00
J. King
c79443fade Remove dependence on phpseclib 2017-11-29 23:38:34 -05:00
J. King
6b1cd3816d Add warnings for slow tests in PHPUnit
This should help in fixing slow tests down the road.
2017-11-08 11:31:44 -05:00
J. King
474d32e54f Preliminary implementation of TTRSS sessions (needs tests; may not work) 2017-09-16 19:57:33 -04:00
J. King
1c4dd9cf7f Add a basic build system 2017-08-29 14:58:06 -04:00
J. King
28201ba573 Experiment with php-cs-fixer 2017-08-29 09:23:53 -04:00
Dustin Wilson
5f66f3c8de Added CONTRIBUTING.md
- Started on a contribution aid for contributors; it needs more work.
- Changed the type in composer.json to “project”.
- Made mention of The Arsse in the readme file more consistent.
2017-08-23 18:56:18 -05:00
J. King
69005ad61b Remove dependency on DrUUID until it's actually used 2017-07-22 23:18:42 -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
fd1f23fd82 Docblocks for Conf
- Improves #36
- Updated dependencies
2017-07-16 22:27:55 -04:00
J. King
2332cd52a3 Cleanup 2017-06-04 08:15:10 -04:00
J. King
719290c82a Remove dependency on Webmozart's Glob outside of testing
Native glob is effectively tested via use of unmodified Lang throughout non-Lang tests
2017-06-01 13:50:46 -04:00
J. King
757f2af343 More Linux/macOS fixes
- avoid iconv for now; causes problems with a nil-config server
- Set executable bit on Unix test runner
2017-05-21 22:20:21 -04:00
J. King
590abaf0ef Start on tests for Feed
- Makes use of PHP's internal Web server to deliver expected responses from a real server
- Windows batch file can be used to run tests (Linux and Mac test runners to come later)
- Added PHPUnit to dev dependencies
2017-05-21 17:16:32 -04:00
J. King
6b2be0a877 Use Phake to create mock objects in tests 2017-03-28 20:30:40 -04:00
Dustin Wilson
7236020b8b Changed "NewsSync" to "Arsse" 2017-03-27 23:12:12 -05:00
J. King
9a8def03c2 Fill in more of the REST handler.
Not yet functional.
2017-03-18 22:30:36 -04:00
J. King
b821d728e4 Add rest dependency; fix SQLite function def 2017-03-13 23:22:20 -04:00
J. King
7687109132 Reorganize Db namespace; alter User ns to match 2017-03-07 18:01:13 -05:00
J. King
7785eb072b Complete rewrite of User class and other changes
- User-related database methods will now throw User\Exception upon errors
- Internal userAdd method can now generate random passwords
- Pursuant to above, dependency on password genrator has been added, and password-related methods now return strings instead of booleans
- User class methods now all explicitly follow different branches for internal/external/missing implementations
- various User class methods now perform auto-provisioning of the internal database when external implementations report success on users not in the database
- Tests have been adjusted to account for the above changes
- Lots is probably still broken
2017-02-20 17:04:13 -05:00
Dustin Wilson
c5fac33398 Converted all hard tabs to soft tabs 2017-02-16 14:29:42 -06:00
Dustin Wilson
f302861662 Added ETag to SQL schema and picoFeed as requirement in composer 2017-02-16 14:09:41 -06:00
J. King
8e2a2c46b1 Refactor test infrastructure to use PSR-4. 2017-02-14 22:34:08 -05:00
J. King
c213b5928d move code out of vendor tree into lib 2017-02-11 14:48:48 -05:00
J. King
9491d082ed Added Composer file and re-arranged dependent libs 2017-02-09 11:01:24 -05:00