Commit Graph

19388 Commits

Author SHA1 Message Date
Sqx. Flann
110c8fb8cc [bugfix] account for data structure change in instance API fallback (#63)
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/63
Co-authored-by: Sqx. Flann <fl4nn+codeberg@opensuse.org>
Co-committed-by: Sqx. Flann <fl4nn+codeberg@opensuse.org>
2025-07-14 16:42:05 +02:00
Sqx. Flann
6d0b964e2b [feature] Query media description limit (#62)
fixes #61

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/62
Co-authored-by: Sqx. Flann <fl4nn+codeberg@opensuse.org>
Co-committed-by: Sqx. Flann <fl4nn+codeberg@opensuse.org>
2025-06-23 10:51:25 +02:00
prplecake
60792ec753 [feature] Add logout button to sidebar (#48)
This one should probably be scrutinized a little more than my previous two.

For example, I don't know why I needed to do this: 1a1f48ceaa/app/javascript/flavours/glitch/features/ui/index.jsx (L152)

~~But, it appears to work.~~ It's live at https://masto-fe.compostintraining.club if you want to test it out.

~~Edit: it breaks stuff. Images don't load anymore...~~ Maybe that was just a network glitch...

Fixes #21.

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/48
Co-authored-by: prplecake <me@prplecake.com>
Co-committed-by: prplecake <me@prplecake.com>
2025-06-07 15:12:37 +02:00
tobi
e5869dc945 [docs] Mention correct port (80 not 3000) (#58)
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/58
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-06-07 15:00:01 +02:00
prplecake
f61625f4bd [bugfix] Don't show deprecated setting modal when auto unfold CWs is toggled on (#47)
Missed in #46, sorry!

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/47
Co-authored-by: prplecake <me@prplecake.com>
Co-committed-by: prplecake <me@prplecake.com>
2025-05-14 20:59:44 +00:00
prplecake
02106153ec [feature] Re-enable auto-unfold CW setting (#46)
Fixes #45

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/46
Co-authored-by: prplecake <me@prplecake.com>
Co-committed-by: prplecake <me@prplecake.com>
2025-05-14 17:23:29 +00:00
daj
8eba3f59f8 [bugfix] Update public/auth.js (#38)
trim trailing spaces from user input for Instance URL

Fix for Issue #37

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/38
Co-authored-by: daj <daj@findmyinbox.co.uk>
Co-committed-by: daj <daj@findmyinbox.co.uk>
2025-04-27 20:56:29 +00:00
tobi
c2390c1d13 [docs] add CONTRIBUTING.md (#36)
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/36
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-04-26 09:25:14 +00:00
tobi
6920d0b8a2 [chore] Add js lint step (#35)
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/35
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-04-26 09:18:46 +00:00
vyxen
370a666d27 [feature] Nicer login.html page, with cute styling + link to source code (#19)
Fixes #9

- Cute styling, combination of Mastodon and GTS
- Short description of the project
- Error and status messages (temporarily) appear in disabled button with correct ARIA attributes
- Sufficient contrast (WCAG AAA)

Let me know if using `login.scss` both as an index file and for adding custom styling is okay. I figured this might be preferred over creating an extra folder and file.

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/19
Co-authored-by: vyxen <vyxen@tutamail.com>
Co-committed-by: vyxen <vyxen@tutamail.com>
2025-04-03 11:07:34 +00:00
Thiago 'Jedi' Cerqueira
0f77cb593c [chore] Add dev script for easier development loop (#16)
This PR adds a npm "dev" script. Upon executing `npm run dev`, the project will be served (default port 3035) in "watch" mode, every local change of the files will refresh the page.

This change should enable faster development loop.

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/16
Co-authored-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
Co-committed-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
2025-03-13 13:28:26 +00:00
Thiago 'Jedi' Cerqueira
84718945c6 [bugfix] Fix blurhash losing proportion when more than one item (#17)
Fixes #14

The style changes I made in #11 didn't take hidden media in consideration. This PR fixes it.

![Captura de tela de 2025-03-12 11-19-12.png](/attachments/f395e341-9a31-4459-adb5-46439b4b3003)

![Captura de tela de 2025-03-12 11-54-24.png](/attachments/00b01da2-712d-43f7-99a6-e53241663339)

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/17
Co-authored-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
Co-committed-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
2025-03-13 13:27:42 +00:00
tobi
1b66719b48 [feature] Send local_only instead of eyeball (#13)
Co-authored-by: Ember <me@ember-is.gay>
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/13
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-03-04 20:54:32 +00:00
Thiago 'Jedi' Cerqueira
4bb7992d4c [Feature] Remove hardcoded limit of media (#11)
Fixes #7

The limit of upload and remote display media was hard coded to 4.

In this PR, I did the following changes:
- Status form now respects instance's upload limit config.
- Remove the limit of images shown on statuses
    - Remote statuses may have more than local instance's limit

Also, I kept the 16:9 aspect ratio of the images. I can change to more complex layouts in future PRs if needed.

This works, but it needs more tests. I don't have how to change the config of my instance, so I had to test forcing duplicates on the post. Any help to validate configuration would be nice.

![image](/attachments/f073ac59-c6d5-4d4c-a01a-17d0c6855094)

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/11
Co-authored-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
Co-committed-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
2025-03-04 19:45:04 +00:00
tobi
b15856c5fc [docs] Add steps for testing locally (#12)
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/12
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-03-04 10:26:19 +00:00
julia
3481816b99 [bugfix] Make the logo icon / wordmark on mobile/simple UI appear (#4)
At least for the logo-symbol-wordmark.svg, this appears to usually be added
by some ruby code in application.html.haml, but since we have a static index.html
this never gets inserted into the HTML. Rather than embedding it into the HTML,
just make the two logos pull from files in public/.

This does not update the branding of the files, just makes them appear.

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/4
Co-authored-by: julia <midnight@trainwit.ch>
Co-committed-by: julia <midnight@trainwit.ch>
2024-12-27 11:55:03 +00:00
tobi
4df14235c6 [feature] Move use_blurhash to app settings, enable by default (#5)
Does what it says on the tin! This serves as a decent model (imo) for how to move something from Mastodon's rather opaque server-side settings to client settings.

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/5
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2024-12-27 11:54:18 +00:00
tobi
9f520d3608 [chore] Remove more unused files (#3)
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/3
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2024-12-25 11:53:56 +00:00
julia
86fa133c50 [bugfix] Store /api/web/settings state locally for persistence (#2)
This also prevents the 'Can't verify CSRF token authenticity' errors that popup whenever you modify a 'web setting', such as the column layout.

~~NB: There is something funky going on. This works 99% of the time and sometimes doesn't?~~ Fixed now, there was two bits of stuff in verify_state doing the same thing, removed the duplicate.

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/2
Co-authored-by: julia <midnight@trainwit.ch>
Co-committed-by: julia <midnight@trainwit.ch>
2024-12-25 11:40:11 +00:00
julia
873838ebfe [feature] Always show content warning: use existing glitch feature (#1)
The modifications you made are somewhat janky; for instance, editing a toot with an existing content warning makes the UI look very weird and doesn't quite work.

Glitch already has a feature for this, so simply turn it on by default. This should do the same thing.

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/1
Co-authored-by: julia <midnight@trainwit.ch>
Co-committed-by: julia <midnight@trainwit.ch>
2024-12-24 14:03:51 +00:00
tobi
56ec0085a2 [feature] Set website 2024-12-21 15:26:26 +01:00
tobi
ba53e0335c [feature] Add theme selector to app settings 2024-12-21 15:26:14 +01:00
tobi
e83af75245 [bugfix] Fix spoiler not being sent 2024-12-21 13:05:13 +01:00
tobi
3ab0eac6ef [chore] Readme, docker build 2024-12-19 19:00:29 +01:00
tobi
b16e8bda7d [feature] Always show spoiler / content-warning box 2024-12-19 17:16:15 +01:00
tobi
bf5366e127 [feature] Use instance settings for media attachment cap 2024-12-19 17:15:55 +01:00
tobi
c541d569cf [chore] Use sloth flavour 2024-12-19 14:28:35 +01:00
tobi
7415961063 maoam 2024-12-18 12:07:50 +01:00
tobi
b8dd1e34bd remove unused translation languages 2024-12-18 11:55:01 +01:00
tobi
934f50dc21 tweaky bombeeky 2024-12-18 11:39:49 +01:00
tobi
a21f6a9a6b further tweaks 2024-12-17 11:34:02 +01:00
tobi
df322aacd4 source url 2024-12-16 14:40:16 +01:00
tobi
6d378b6b00 replace icons 2024-12-16 14:27:37 +01:00
tobi
0ba6ab88a9 weeeeeeeee 2024-12-15 17:19:57 +01:00
jwbjnwolf
915034f6a6 Revert "Remove layout glitch-soc settings"
Reverts 0d61985713. Re-enables the ability to toggle between single/multi column ui.
2024-07-17 16:41:39 +02:00
Laura Hausmann
3962700726 Fix 24:xx timestamps 2023-10-23 12:22:45 +02:00
Laura Hausmann
891d6c5fa5 Add domain to acct display in sidebar 2023-10-18 01:11:56 +02:00
Laura Hausmann
aa0801e1f3 Remove explore prompt 2023-10-18 01:05:23 +02:00
Laura Hausmann
1feffe4326 Ignore hashtag history if undefined 2023-10-14 15:03:34 +02:00
Laura Hausmann
aa27eaece4 Fix languages crash 2023-10-12 21:08:11 +02:00
Laura Hausmann
4a61246750 Remove issue templates 2023-10-12 21:01:51 +02:00
Laura Hausmann
114fd1a521 Update README 2023-10-12 20:26:48 +02:00
Laura Hausmann
ad151d2e3c Revert to old profile actions icon 2023-10-12 20:24:20 +02:00
Laura Hausmann
6ac4848fbb Merge remote-tracking branch 'upstream' into glitch 2023-10-12 20:16:41 +02:00
Laura Hausmann
d35cbe4473 Remove /deck prefix 2023-10-12 20:13:44 +02:00
Laura Hausmann
d7254bd332 Update default local-settings 2023-10-12 20:13:43 +02:00
Laura Hausmann
e6fd0de840 Update patchset to upstream glitch 2023-10-12 20:13:43 +02:00
Laura Hausmann
960614ec6f Merge patchset from akko branch 2023-10-12 20:13:42 +02:00
Claire
45a19ddfe4 Merge pull request #2440 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes up to 27e84c0691
2023-10-12 12:18:43 +02:00
Claire
99c72830bc [Glitch] Fix scroll position in thread view reseting when closing a modal
Port 9d1c3d0678 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-10-10 19:53:59 +02:00