Commit graph

97 commits

Author SHA1 Message Date
cd5c97afd3
Remove psalm annotations 2025-04-10 20:09:36 +01:00
1dfa17abca
Update Laravel to v12
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
2025-04-01 21:10:30 +01:00
1d59d57c2e
Fix showing author like on a note 2024-11-30 15:30:07 +00:00
d7da42b626
Host images locally
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
We don’t need the complexity of S3. Sepcifically the complexity of
managing my own AWS account, flysystem made the Laravel side easy.

A command is added to copy the the S3 files over to local storage.
2024-10-25 20:40:52 +01:00
cbbe87e23c
Setup support for syndicating to Bluesky 2024-03-23 21:19:54 +00:00
2aa60db548
Update JSON notes feed to version 1.1 2023-12-20 14:44:11 +00:00
92098a793e
feat: Add webmention counts and icons for replies, likes, and reposts.
- Add new SVG icons for the "reply", "like", and "repost" actions
- Update webmention info display in note template to include counts and icons for replies, likes, and reposts
- Add webmention counts to FrontPageController.php and modify queries in NotesController.php
- Modify WebMentionsTableSeeder.php to change URLs, commentable ID, and add new WebMentions
2023-11-25 16:08:07 +00:00
03c8f20a8c
feat: Add Passkey support
- Added a button for logging in with Passkeys in `login.blade.php`
- Refactored the `register` method and added the `login` method in `auth.js`
- Made various modifications and additions to the passkey functionality in `PasskeysController.php`
- Added event listener for login-passkey element in `app.js`
- Modified the passkeys table schema and made modifications to `Passkey.php`
- Changed the redirect route in the `login` method of `AuthController.php`
- Made modifications and additions to the routes in `web.php`
- Added `"web-auth/webauthn-lib": "^4.7"` to the list of required packages in `composer.json`
- Changed the redirect URL in `AdminTest.php`
2023-10-27 20:22:40 +01:00
2fb8339d91
Admin can now hopefully add a passkey to their account 2023-09-25 18:31:38 +01:00
630ec46186
chore: Update and clean up file imports and annotations
- Update various factory files in the `database/factories` directory
- Remove unused imports and annotations in factory files
- Add or update comments and PHPDoc blocks for better understanding and readability
- Remove unused imports in controller and command files
- Remove commented out code in middleware file
2023-07-28 12:05:11 +01:00
39a197ae7b
refactor: Refactor file headers and add Psalm suppressions
- Added Psalm suppression annotations to multiple controller classes
- Added PHPDoc comment blocks to seeders and factories
- Added comments to indicate unused classes and methods
- Removed unused annotations and imports
2023-07-28 11:48:07 +01:00
9c62a5daff
refactor: Update article schema for better flexibility.
- Update database table `articles`
- Set `url` column as nullable
2023-05-27 16:47:44 +01:00
e1731d2ed3
Increase article title and URL column length in migration.
- Increase character lengths for `titleurl` and `url` columns in `articles` table
- Add migration file to alter column lengths in database
2023-05-19 14:16:28 +01:00
bdb69df52d
Switch bio to be stored in database 2023-04-11 17:37:42 +01:00
16b120bc73
Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
6c43363c78
Make some tweaks around dealing with replies 2022-12-03 20:12:39 +00:00
953f98a389
Remove a migration that alters the failed jobs table 2022-11-21 19:07:47 +00:00
41df88bdde
Add new failed jobs table 2022-11-21 18:58:42 +00:00
12d02454bc
Remove old failed_jobs table 2022-11-21 18:48:45 +00:00
72cb4fd7eb
Allow notes to be syndicated to Mastodon 2022-11-04 15:23:31 +00:00
c95d7ed58d
Make columns nullable in original migration 2022-10-24 21:10:48 +01:00
c9106b5b8b
Fix issues saving syndication targets 2022-10-24 17:18:04 +01:00
ea8395a651
Add model to store syndication target data 2022-10-22 14:18:21 +01:00
e36f15d391
Fix files with Laravel Pint 2022-07-09 10:08:26 +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
d2123f6bfa Fix data for local page loading 2021-08-31 16:50:49 +01:00
1abca77bdc Finish re-working tests to run on test database 2021-08-31 12:28:00 +01:00
0391cf80de Redo Notes a little, improve tests 2021-04-29 20:02:20 +01:00
829b2c131f Make sure prior article is in prior month when seeding 2020-12-31 13:44:57 +00:00
ed54446f87 Follow laravel upgrade guide 2020-10-19 19:41:50 +01:00
57186c3e2e Upgrade to Laravel 8 2020-10-17 17:15:06 +01:00
322f2eabf9 Fix database migrations and seeding 2020-10-17 10:56:20 +01:00
3c3ad3e29d Remove the postgis stuff 2020-10-16 20:45:07 +01:00
0993d0187f Allow postgis location data to be copied to float columns 2020-10-10 20:56:29 +01:00
7fc3fb19c0 Upgrade to Laravel v7 2020-06-13 16:32:42 +01:00
09d0f9b71b Add some test data for long url bug 2020-03-08 14:16:41 +00:00
5ef23376be Work so far in refactoring front-end
- Mainly getting rid of existing css/js
- No longer linking to stuff like a11y.css
- Creating a FrontPageController to better deal with the home page
2019-07-26 10:40:56 +01:00
3c468be081 Set up Telescope 2019-03-29 17:53:43 +00:00
dad45c4ab1 Update Admin tests for new auth implementation 2019-03-23 15:41:01 +00:00
c82c4524eb
Get Newest Horizon (#109)
* Re-publish Horizon assets

* Updated horizon config file

* Newest Horizon now works by using Laravel’s own auth

* For now, remove test for admin login
2019-03-21 19:46:38 +00:00
26c4bc82d6 Some redesign work, that didnt actually use grid
Squashed commit of the following:

commit 1701a33d313d0969b061c8a87734395312045d9a
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sat Mar 16 18:44:29 2019 +0000

    Try and get security checker working again

commit 2f81f28419304cad1678c6ee054eb3c8782fa082
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sat Mar 16 18:38:41 2019 +0000

    Make sure aaron's profile pic is saved

commit 8a78aeec9c648a647fcb5d778b3003df5c3f653e
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sat Mar 16 18:16:16 2019 +0000

    Lets push out the new style as is

commit a8015907d44370600ae3711605f96c4e3a637fca
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Mar 15 21:31:19 2019 +0000

    More design work

commit 12cb6e1bfc23ca9591e5348ebc6e49614d686722
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Mar 10 16:00:30 2019 +0000

    Updating CSS styles for design v2
2019-03-16 21:48:54 +00:00
427b79f278 Improve syntax highlighting of code
Squashed commit of the following:

commit eb55e94ed89a1b8ccd1db10a36efd28d8896f316
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Jan 24 18:45:00 2019 +0000

    Remove un-needed use statments, fix tests now we have 2 articles

commit f1c12c1b43d071fe0484407a9692ee4184542437
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 23 19:39:56 2019 +0000

    Remove prism files

commit 3a1d12d9181600f661593c662dbc18d152413b28
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 23 19:39:24 2019 +0000

    Use the new css file in the search page

commit 119b6b5163c217a15770004a45b07bacdfb766f0
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 23 19:36:14 2019 +0000

    Recompress assets

commit afae245d0211dd31fcc131cecb0fab4084895612
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 20 19:33:56 2019 +0000

    Style codeblocks in articles as well

commit 53be0a2023755c2f16ba1560d88f9c66675b581d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 20 19:23:25 2019 +0000

    Styled codeblocks are now on the notes pages

commit 818add06f349874501cc44baf332dc63dfdcfab1
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 20 19:08:56 2019 +0000

    Install spatie’s commonmark highlighter, use it for notes

commit fb69d98b2bd3bb56540854fe16200c027e5ef6b2
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 20 18:54:27 2019 +0000

    Remove links to prism code in the notes pages

commit dc89fcd4711b25e8407be9b25b58cd4cd1e9980e
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 20 18:54:11 2019 +0000

    Add a note to the seeder which has a code block
2019-01-24 19:19:45 +00:00
6993725b1e Remove Instagram note, the image links expire 2018-06-23 22:55:02 +01:00
f9bd0bad03 update npm dependencies, fix map style menu issues 2018-04-15 10:43:08 +01:00
7f8adc1220 Modify waterfall picture note to be just picture with no content 2018-02-15 18:12:56 +00:00
50facf52de Improve likes
Squashed commit of the following:

commit 4dc223939c31fd5771b9e6895c8e9e0c88fc6663
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 21:19:29 2018 +0000

    update changelog

commit 7b15937a097c12145e60dfec67cad19e385fcb9f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 21:19:13 2018 +0000

    re-compile frontend assets

commit f533d5e463d06e158b7bedbfd3602af70113acbc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 21:14:11 2018 +0000

    Only use “by” if there is an author name to show

commit 7b067fd559ce2f4a82ad747a3ebd3474e221169c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 21:12:27 2018 +0000

    Some styles for the likes page

commit 039523f595115c1329a3939837ebf589184de995
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 21:11:44 2018 +0000

    Add a like with just the url to the seeder

commit c43d4b07936fceeeb59460399a20abec7a9bc3ae
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 20:44:46 2018 +0000

    Add test for the admin cp part of likes

commit eb115fa481319e98bf54a9fa6aa682479e56787d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 20:44:28 2018 +0000

    Catch 400 errors from a POSSE attempt, its not that important

commit 79f7aa7807534eb76ae57dee72002f99249255b0
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 20:01:19 2018 +0000

    Better fetch data for tweets, attempt to POSSE them back to twitter

commit 1ad078929f918c00db550c0af315677cd991dad6
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 20:00:40 2018 +0000

    Only filter the like content when its actual HTML

commit 10f1ba430d4d5262d28e24ca0413474900ea6145
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 19:59:57 2018 +0000

    Add link to POSSE to twitter via bridgy

commit 7f8e5c6dd39716fb51b5766de2f24c7e01355dbb
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 19:59:22 2018 +0000

    add links in the admin welcome page for likes

commit ebe80b07759881ffb98f8f5117ef25310aaabe6c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 18:22:35 2018 +0000

    Add the admin routes

commit 5e150a7c39f5d71688b7ef14c924d09ba2ec82ba
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 12 18:22:15 2018 +0000

    Add admin functionality for likes
2018-01-12 21:19:42 +00:00
53875f08eb Don’t normalize the text of a tag that is displayed, only normalize the content for a tag in the URL 2018-01-06 20:06:19 +00:00
940d24c462 Simple checkins
Squashed commit of the following:

commit 50f1993f45a9745ff77f2956a01543b747c85b41
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Dec 24 16:00:39 2017 +0000

    Add feature to changelog

commit 64deec40f7bc7941bd77f95c383f3b400952cec5
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Dec 24 14:19:06 2017 +0000

    Only show name of location in note metadata when not a simple checkin

commit 4c9fe397f76981f2eca5749a85ece136f78bb2af
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Dec 24 14:17:49 2017 +0000

    Add a simple checkin for testing purposes

commit 11564ead4aaf442113d380109d0b65972484dbcf
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Dec 24 14:17:05 2017 +0000

    Don’t set a default value for checkins during creation

commit 832c77c205626dd0119fc602727f6808c9d7758f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Dec 24 14:16:05 2017 +0000

    If note has no content, but an associated place, it is a simple checkin, set a note value appropriately

commit 8c11f9d4b058b3bd248ed02476904301def0e6fc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Dec 24 14:13:31 2017 +0000

    Allow a note to not have content, in whihc case default the value to null
2017-12-24 16:00:58 +00:00
a329b05d53 Fix database seedings with new model namespace 2017-12-22 14:28:41 +00:00