Commit graph

115 commits

Author SHA1 Message Date
71cb15d007
refactor: Improve note ID validation and error handling
- Improve input validation and error handling in Note model
- Add test case for out-of-range note IDs in NotesController
2023-06-11 12:52:07 +01:00
bebbfec510
chore: Refactor configuration files based on Laravel 10 skeleton 2023-06-09 18:31:53 +01:00
86ac67698e
Remove activity stream functionality from controllers and providers.
- Remove activity stream related code and files
- Update configuration for HtmlSanitizer and RetryGuzzle
- Add `paginate` macro for `Collection`
- Remove unused code for `Codebird`
- Simplify `FrontPageController` and `NotesController` methods
2023-05-12 15:30:05 +01:00
7ee5bb00ba
Update Laravel Pint 2023-04-20 17:34:06 +01:00
58c5a7d443
Re-add search functionality 2023-04-11 21:44:55 +01:00
bdb69df52d
Switch bio to be stored in database 2023-04-11 17:37:42 +01:00
88e1246f8b
Remove Twitter POSSE support 2023-04-08 13:25:36 +01:00
ebfa7f7bf7
REmove dates than cause some tests to fail 2023-04-08 10:33:48 +01:00
16b120bc73
Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
6d6e719f52
Update Laravel Pint, fix files in codebase 2023-02-16 16:57:06 +00:00
ca6205d2a6
Allow micropub to post notes and articles 2022-11-29 19:58:44 +00:00
3f4634710c
Implement strict Eloquent when developing 2022-11-24 21:44:57 +00:00
42f0fa2238
Return a published and mime type data with sourced media uploads 2022-11-20 17:12:22 +00:00
027eccfad8
Update querying of last uploaded media 2022-11-16 20:30:08 +00:00
096b4db322
Improve micropub media tests 2022-11-15 17:21:01 +00:00
72cb4fd7eb
Allow notes to be syndicated to Mastodon 2022-11-04 15:23:31 +00:00
66257e7e9b
Use new syndication target model when processing MicroPub requests 2022-10-23 20:38:12 +01:00
1d85c4c8cf
Fix one of the unit tests 2022-10-23 13:15:16 +01:00
ea8395a651
Add model to store syndication target data 2022-10-22 14:18:21 +01:00
4a0bc6005a
Fix issuing of token during IndieAuth sign in 2022-10-15 16:09:53 +01:00
c3c395c659
Rework indieauth checking in token endpoint
We know the me value, it is our app
2022-09-24 19:05:45 +01:00
ff6d8ae3eb
Fix Laravel Pint issues 2022-09-24 18:33:36 +01:00
e456f688a3
We need to manually check the indieauth endpoint ourselves now 2022-09-24 18:28:05 +01:00
c4c7514316
Run Laravel Pint 2022-08-23 20:59:19 +01:00
903ebf56eb
Update code to work with stricter JWT library checks 2022-08-23 20:50:19 +01:00
e36f15d391
Fix files with Laravel Pint 2022-07-09 10:08:26 +01:00
3ff4149304
Use CommonMark plugin for @-mentions 2022-07-08 16:37:38 +01:00
48d1c9a00b Improve tests 2022-05-14 17:48:53 +01:00
78bd468d3d
Upgrade to Laravel 9 (#252) 2022-02-27 19:42:49 +00:00
9f66d342d8 Switch all test to use RefreshDatabase trait 2021-08-31 12:48:43 +01:00
1abca77bdc Finish re-working tests to run on test database 2021-08-31 12:28:00 +01:00
d5bbed1eac Rename the tests to pass phpcs checks 2021-03-17 18:38:18 +00:00
d43530cdd2 Final prep work to get ready for PHP8 2020-12-31 13:34:55 +00:00
f73a5587dc No longer need our own token exception 2020-11-28 19:02:37 +00:00
6942fc1d32 Initial php8 work
- switch to GD for image work
 - fix issues around jwt
2020-11-28 18:21:29 +00:00
ed54446f87 Follow laravel upgrade guide 2020-10-19 19:41:50 +01:00
3c3ad3e29d Remove the postgis stuff 2020-10-16 20:45:07 +01:00
ae2c45ff3d Add media endpoint support for the source parameter 2020-08-15 09:56:33 +01:00
e2279a0de8 Fix like tests 2020-08-09 20:12:45 +01:00
0fca80e7e4 Improve exception handling and model binding 2020-08-09 15:54:10 +01:00
95bf302dcd Replicate what aaronpk does in his endpoint 2020-06-28 17:21:21 +01:00
cd345d4f88 Make sure we have no media for the empty response test 2020-06-28 16:40:10 +01:00
b764066d98 Only return media added in last half hour 2020-06-28 16:30:56 +01:00
4f2d3b7c2b Media Endpoint improvements
For the code, media related stuff is now in its own controller

Added support for querying the most recent file uploaded
2020-06-27 14:13:33 +01:00
0195814219 Add jf2 feeds for notes and blog posts 2020-06-20 16:47:39 +01:00
b0ad1d272c Some small fixes needed for the tests 2020-06-13 17:26:59 +01:00
ad01233c5b Use better http tester methods 2020-01-26 20:42:42 +00:00
c1b316b641 Use Laravel 6’s new test methods for HTTP tests 2020-01-26 19:03:34 +00:00
50e4848e46 Fix tests to reflect updated code 2020-01-26 17:44:10 +00:00
21c89f721c Remove redundant test, will look at re-implmenting later 2019-10-27 18:49:04 +00:00