f0x52
265cc32516
use more semantic headers for profile page ( #1765 )
2023-05-11 20:36:14 +02:00
f0x52
9cc9ffc5a7
[frontend] Profiles with fields & more ( #1764 )
...
* redesign status template
* separate index page styling
* redesign profile template
* fix header styling/wrapping
* remove old spoiler js
* fix status cw button wrapping
* fix status info variables
* profile responsiveness, accessibility tweaks
* fix variable use, mobile
* remove duplicate id's
* rss icon, fix indent
* fix toot border-radius
* fix toot spacing
* emojify and html profile fields
* refactor (sensitive) media rendering
* plaintext profile fields
* bundle plyr icon svg
* only pause video when switching photoswipe slides
* yarn upgrade
* profile fields formatting
* replace uglifyify with @browserify updated fork
* fix profile field templating (yet again)
* fix React classes
* testrig: add testing profile field for admin user
* fix sensitive media interactions
* Revert "testrig: add testing profile field for admin user"
This reverts commit 80490c183e
.
* settings interface wrapping
* fix reported toot styling
* add role to profile sr-only text
* comment fallback rule
* remove currently unused image description lacking indicator
2023-05-11 17:46:32 +02:00
f0x52
0746ef741a
[frontend] Settings navigation design ( #1652 )
...
* change header image alignment
(cherry picked from commit df1bb339a5c597a2b668cedb3dafec5a390df120)
* big mess navigation refactor
* bit of cleanup
* minor css tweaks
* fix error rendering code for remote emoji
* refactor navigation structure code
* refactor styling
* fix className
* stash
* restructure navigation generation
* url wildcard formatting
* remove un-implemented User menu entry
* remove commented lines
* clarify permissions check
* invert permissions logic for clarity
2023-03-29 12:18:45 +02:00
f0x52
6e10175229
update license headers ( #1612 )
2023-03-12 17:49:06 +00:00
f0x52
cb2f84e551
[frontend/fix] Mobile css tweaks ( #1605 )
...
* mobile css tweaks
* bulk process list mobile css
2023-03-11 10:49:44 +01:00
Vyr Cossont
e6cde25466
[feature] Advertise rich text formats, support content_type field ( #1370 )
...
* Advertise rich text formats, support content_type field
* Update JSON in instance patch tests
* Replace format with content_type everywhere
* update migration to work with both pg and sqlite
* regenerate swagger docs
* update instance serialization + tests
* fix up
* learn to code tobi please, i'm begging you
---------
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2023-03-02 12:06:40 +01:00
tobi
c27b4d7ed0
[feature] Client API endpoints + v. basic web view for pinned posts ( #1547 )
...
* implement status pin client api + web handler
* make test names + comments more descriptive
* don't use separate table for status pins
* remove unused add + remove checking
* tidy up + add some more tests
2023-02-25 12:16:30 +00:00
tobi
e8a04b7ce1
[bugfix] Fix account roles ( #1542 )
...
* Change account role from string to object
* Update tests
* small fixes + swagger docs
---------
Co-authored-by: zowhoey <11893985+zowhoey@users.noreply.github.com>
2023-02-20 17:00:44 +01:00
f0x52
b6143c9ab8
[feature] About page ( #1495 )
...
* about page basics
* more info, styling
* update emoji sizing on about page contact card
2023-02-20 16:29:29 +01:00
f0x52
59b2e10787
[bugfix] fix oob token route, update templates+css for oob and errors ( #1519 )
2023-02-18 16:47:42 +01:00
f0x52
b8e1ab312d
use woff(2) fonts for Noto Sans ( #1509 )
2023-02-15 20:10:18 +01:00
f0x52
700ed7769f
[chore] Webkit frontend fixes ( #1492 )
...
* fix webkit profile preview layout
* general page layout
2023-02-14 11:58:57 +01:00
f0x52
65b19411a4
[chore] Fix report username wrapping ( #1464 )
...
* fix report username wrapping
* move report status to separate line on portrait orientation
2023-02-09 09:26:35 +01:00
f0x52
52fbb3e584
[bugfix] fix 'steal this look' form, uncheck entries after processing ( #1454 )
2023-02-07 18:34:54 +01:00
f0x52
0ed50c172e
[chore/frogend] domain blocklist layout on smaller screens ( #1436 )
2023-02-07 10:00:13 +01:00
f0x52
83b522a1b6
[feature/Frogend] basic report admin interface ( #1424 )
...
* basic listing of reports
* report detail overview, resolving
* report detail styling tweaks
* linter fixes
2023-02-06 09:33:47 +01:00
f0x52
47daddc10c
[chore/frogend] Restructure form data default values / update from Query data ( #1422 )
...
* eslint: set console use to error to catch debug littering in CI
* remove debug logging
* some form field restructuring, fixes submitted updates not being reflected
* more form field restructuring
* remove debug logger
* simplify field updates
* fix react state set during render when submitting import file
* className instead of class
* show Select hints again
2023-02-06 09:19:56 +01:00
tobi
04ac3f8acf
[bugfix] Fix password change keys ( #1416 )
2023-02-04 12:40:35 +01:00
f0x52
a59dc855d9
[feature/frogend] (Mastodon) domain block CSV import ( #1390 )
...
* checkbox-list styling with taller <p> element
* CSV import/export, UI/UX improvements to import-export interface
* minor styling tweaks
* csv export, clean up export type branching
* abstract domain block entry validation
* foundation for PSL check + suggestions
* Squashed commit of the following:
commit e3655ba4fb
Author: f0x <f0x@cthu.lu>
Date: Tue Jan 31 15:19:10 2023 +0100
let debug depend on env (prod/debug) again
commit 79c792b832
Author: f0x <f0x@cthu.lu>
Date: Tue Jan 31 00:34:01 2023 +0100
update checklist components
commit 4367960fe4
Author: f0x <f0x@cthu.lu>
Date: Mon Jan 30 23:46:20 2023 +0100
checklist performance improvements
commit 204a4c02d1
Author: f0x <f0x@cthu.lu>
Date: Mon Jan 30 20:05:34 2023 +0100
checklist field: use reducer for state
* remove debug logging
* show and use domain block suggestion
* restructure import/export buttons
* updating suggestions
* suggestion overview
* restructure check-list behavior, domain import/export
2023-02-03 12:07:40 +01:00
f0x52
08f8feaec5
[feature/frontend] filterable local emoji list ( #1385 )
2023-01-27 09:09:26 +01:00
f0x52
17eecfb6d9
[feature] Public list of suspended domains ( #1362 )
...
* basic rendered domain blocklist (unauthenticated!)
* style basic domain block list
* better formatting for domain blocklist
* add opt-in config option for showing suspended domains
* format/linter
* re-use InstancePeersGet for web-accessible domain blocklist
* reword explanation, border styling
* always attach blocklist handler, update error message
* domain blocklist error message grammar
2023-01-25 18:06:41 +01:00
f0x52
27d4e364e0
[chore] Settings refactor fix4 ( #1383 )
...
* fix error handling behavior in emoji overview and FormWithData components
* css: long domain cutoff
* unused require
* eslint vscode task
2023-01-25 09:47:55 +01:00
f0x52
b375d3b5d6
[chore] Add name to instance field for autosuggestion ( #1359 )
2023-01-19 17:37:42 +01:00
f0x52
747683ba54
[chore] Settings refactor fix 2 ( #1357 )
...
* fix emoji query tagging
* fix proxy url for gts instance
* fix: don't flash callback error on authorize flow
2023-01-18 16:41:00 +01:00
f0x52
13e3aaaed1
[chore] Fix new emoji preview title/alt text ( #1354 )
...
* fix new emoji preview title/alt text
* empty commit to start Drone pr build
2023-01-18 15:16:29 +01:00
f0x52
9b139b6320
[frogend] Settings refactor ( #1318 )
...
* yakshave new form field structure
* fully refactor user profile settings form
* use rtk query api for profile settings
* refactor user post settings
* refactor password change form
* refactor admin settings
* FormWithData structure for user forms
* admin actions refactor
* whitespace
* fix user settings data prop
* remove superfluous logging
* cleanup old code
* refactor federation/suspend (overview, detail)
* mostly abstracted (emoji) checkbox list
* refactor parse-from-toot
* refactor custom-emoji, progress on federation bulk
* loading icon styling to prevent big spinny
* refactor federation import-export interface
* cleanup old files
* [chore] Update/add license headers for 2023
* redux fixes
* text-field exports
* appease the linter
* refactor authentication with RTK Query
* fix login/logout state transition weirdness
* fixes/cleanup
* small linter-related fixes
* add eslint license header check, fix existing files
* remove old code, clarify comment
* clarify suspend on subdomains
* collapse if/else
* fa-fw width info comment
2023-01-18 14:45:14 +01:00
dependabot[bot]
36aa6854bd
[chore] Bump json5 from 1.0.1 to 1.0.2 in /web/source ( #1308 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 10:24:49 +01:00
tobi
67919204af
[chore/frogend] update status blockquote css ( #1302 )
...
Current blockquote margin + padding values were causing issues on small screens. This PR updates these values to use horizontal space a bit better!
2023-01-06 16:01:09 +01:00
tobi
0dbe6c514f
[chore] Update/add license headers for 2023 ( #1304 )
2023-01-05 12:43:00 +01:00
f0x52
de74cc6e94
[bugfix/frogend] replace ch units to prevent layout shift on page load ( #1301 )
2023-01-05 09:38:01 +01:00
tobi
2bbc64be43
[feature] Enable basic video support (mp4 only) ( #1274 )
...
* [feature] basic video support
* fix missing semicolon
* replace text shadow with stacked icons
Co-authored-by: f0x <f0x@cthu.lu>
2022-12-17 04:38:56 +00:00
f0x52
2b0342b231
[bugfix] use match-sorter for filtering domain blocks ( #1270 )
2022-12-16 12:19:58 +01:00
f0x52
4b8d7bd952
[frogend] Emoji copy "Steal this look" ( #1222 )
...
* split emoji into local and remote, allow looking up remote emoji by toot url
* optimize some/all filtering
* fix local emoji routes
* implement copy action
* shortcode validation, don't wipe form on error
* copy & disable PATCH
* remove local toot acceptance for testing
* unused import
* parse emoji from account and status, get web_url from status uri
* fix url parse
* submit button loading info
* actually send category
* code cleanup, distinguish between account and status responses
* use loading icons
* fix loading icon on federation page
* require Loading element
* remove unused require
* query explanation, small accessibility tweaks
2022-12-11 16:00:23 +01:00
Dominik Süß
199b685f43
[feature] overhaul the oidc system ( #961 )
...
* [feature] overhaul the oidc system
this allows for more flexible username handling and prevents account
takeover using old email addresses
* [feature] add migration path for old OIDC users
* [feature] nicer error reporting for users
* [docs] document the new OIDC flow
* [fix] return early on oidc error
* [docs]: add comments on the finalization logic
2022-12-06 14:15:56 +01:00
f0x52
bb7948f31a
[chore/frontend] remove domain block edit functionality until implemented in backend ( #1199 )
2022-12-02 15:56:23 +01:00
f0x52
85524f8b4b
[bugfix/frontend] fix profile grid scaling in webkit based browsers ( #1193 )
2022-12-01 17:28:11 +01:00
tobi
8d581deb28
[bugfix] use correct key for PATCHing admin email ( #1189 )
2022-11-30 16:41:27 +01:00
f0x52
a1dda22672
[bugfix] change page width to prevent scrollbar overflow ( #1182 )
2022-11-30 13:15:33 +01:00
f0x52
5c5c8ceaf0
[chore] Fix frogend admin emoji patch ( #1148 )
...
* fix className
* fix unable to set category on new emoji
* wrap emoji groups
2022-11-25 16:37:57 +01:00
f0x52
665d902fd7
[feature/frogend] modify local emoji ( #1143 )
...
* update danger button red
* emoji category and image modification
* debug bundles in dev
* fix linting error
2022-11-25 15:49:48 +01:00
f0x52
5ba5fb3154
[chore/frogend] fix profile preview css, use role info ( #1130 )
...
* fix profile preview css, use role info
* remove unused redux selector
2022-11-23 16:10:02 +01:00
Michael Manfre
67106c9dc4
[feature] Support markdown format for Account bio/note ( #1037 )
...
* [feature] Status format also controls bio format
* test
2022-11-19 10:07:51 +01:00
f0x52
81c1fe0209
[frogend] upgrade deps ( #1063 )
2022-11-16 17:31:11 +01:00
f0x52
aa5c4e065c
[frogend] Emoji categories ( #1051 )
...
* emoji category combobox
* emoji categorizing
* dropdown entry separation
* emoji filtering/sorting
* add some explaining comments
* remove unneeded default-value code
* remove wrongly created package.json
* configurable ComboBox label+placeHolder
2022-11-16 17:05:49 +01:00
f0x52
fece7fa706
[chore] fix profile spacing on very small screens ( #1050 )
2022-11-15 15:35:24 +01:00
tobi
a39a664525
[feature] Serialize local account role via API, and show it via web view ( #1045 )
...
* [feature] Add 'role' field to api serialization of local accounts
* [chore] Add a bit of license text while I'm here
* [frogend] render account role on same line as username in web view of profile
* style tweaking on role badges, general profile header layout
* profile stats wrapping
* don't render standard 'user' role on web view
Co-authored-by: f0x <f0x@cthu.lu>
2022-11-15 10:19:32 +01:00
f0x52
ebff71f77a
[chore/frontend] CI steps for frontend stuff ( #997 )
...
* re-add eslint
* fix oauth url getting too long
* actually attach single emoji get and delete routes
* basic emoji details + deletion using rtk query
* refactor emoji upload to rtk query
* clean up old redux api+reducers for custom emoji
* fix validation order
* refactor custom emoji form fields
* remove unused requires
* cleanup, fix most eslint errors
* more small eslint fixes
* eslint & web bundle in CI
* fix directories, move lint+build to scripts
* working dirs
* test linter and build errors
* upgrade skulk for better error handling
* Revert "test linter and build errors"
This reverts commit dc047d5b44
.
* fix max emoji size
* tiny bit of function documentation
* sign drone.yml
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2022-11-10 14:08:54 +01:00
f0x52
ad08c6c229
[frontend] fix conflict introduced by merge ( #1007 )
2022-11-08 20:50:37 +01:00
tobi
b4f7316a4c
[feature] Make instance thumbnail configurable via admin panel ( #973 )
...
* [feature] Make instance thumbnail configurable via admin panel
* log db errors in InstanceToAPIInstance
* only update instance in db if necessary
* start adding tests
* finish test
2022-11-08 17:11:06 +00:00
f0x52
eb25739c34
[frontend] Custom Emoji Deletion ( #994 )
...
* re-add eslint
* fix oauth url getting too long
* actually attach single emoji get and delete routes
* basic emoji details + deletion using rtk query
* refactor emoji upload to rtk query
* clean up old redux api+reducers for custom emoji
* fix validation order
* refactor custom emoji form fields
* remove unused requires
* cleanup, fix most eslint errors
* more small eslint fixes
* fix max emoji size
* tiny bit of function documentation
2022-11-08 17:51:44 +01:00