Commit graph

91 commits

Author SHA1 Message Date
9c3776d034 Removing community and user favicon setting. 2020-08-07 13:22:03 -04:00
Dessalines
464ea862b1
Preferred usernames, banners and icons. (#1055)
* Re-organizing federation tests. #746 #1040

* Adding federation support for user bios. Fixes #992

* Adding icons, banners, and preferred usernames.

- Added optional community icons, and community banners.
- Added user banners.
- Added Site icon and banner, with custom favicon.
- Set up preferred usernames. Fixes #1017
- Added an additional post sort: Active
  - Hot rank now uses the published time.
  - Active uses the most recent comment time, and is default.
- DB Migration was required to add all these fields to the views.
- Added transfercommunity helper function.
- Removed title column from communities page.
- Abstracted an image-upload-form.tsx, and a banner-icon-header.tsx
- Fixes #899

* Some navbar fixes.

* Fixing css

* Some fixes.

- Showing correct user icon and banner after save without page reload.
- Abstracting diesel update overwrite.
- Adding some docs.

* Adding @ when a user doesn't have a preferred username.
2020-08-05 12:03:46 -04:00
089aefc7af Hide navigation warnings on markdown textarea for site-form and user bios. Fixes #1051 2020-08-02 10:41:17 -04:00
fbd9adb135 Fix user settings sort not working. Fixes #1050 2020-08-02 10:33:14 -04:00
ad44b7da9c Fix user bio bug. 2020-08-01 20:03:29 -04:00
Azriel Lector
1acb51105a
Add user bios (#1043)
* Add user bios

* Version v0.7.35

* Add domain name change instructions to docs. (#1044)

* Add domain name change instructions to docs.

* Changing docker execs to docker-compose execs

* Set maxLength to user bio and render as md

* Fix bio updating after SaveUserSetting

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2020-07-30 21:08:13 -04:00
d14bc121c0 Fixing language setting issue. Fixes #1041 2020-07-29 22:29:41 -04:00
ff7e0c72f9 Merge branch 'Axighi-master' into front_end_prettying 2020-07-29 00:24:49 -04:00
ae78b3473f Some more prettifying, cleaning up community and main.tsx 2020-07-29 00:23:24 -04:00
Azriel Lector
75fe38ab08 Remove /u/ and /c/ schemes from UI 2020-07-29 11:16:27 +08:00
Dessalines
6e4599411b
Adding inferno-helmet to fix page titles. Fixes #1028 (#1030) 2020-07-27 11:54:42 -04:00
76fec39670 Adding a lot of front end prettying.
- Re-did litely theme.
- Increased spacing.
- Fixed up navbar to not full width.
- Made login/sign up stand out.
- Made thumbnails have a light background.
- Removed btn-sm, made almost all buttons bigger.
- Made all badges lighter.
- Made card backgrounds transparent.
- Fixes #888
2020-07-23 02:10:22 -04:00
ca7d2feedb Some GetUserDetails cleanup. 2020-07-20 15:32:15 -04:00
aaa850c6c9 Better user page loading indicators. Fixes #986 2020-07-17 11:48:06 -04:00
Dessalines
9f36fd50b4
GetSite fixes. Fixes #975 (#978) 2020-07-15 10:00:55 -04:00
derek
ef62f4698a ui.components: fix ts types, move user pagination to user details 2020-07-14 01:13:43 -04:00
derek
f1d01f4fa0 ui.components: split user component up to fix duplicate requests
Replace componentWillReceiveProps with getDerivedState and pass state as props to new component
2020-07-13 20:14:01 -04:00
Ernest
a5454fe82d Add post title to user overview and user comment list 2020-07-12 19:02:38 +02:00
Dessalines
961d65c0ee
Remove button for avatars. Fixes #755 (#924) 2020-07-09 20:04:09 -04:00
Dessalines
85c07e7154
Correctly hide next / prev in paginators. Fixes #914 (#927) 2020-07-09 20:03:33 -04:00
Filip785
e7b7b0dee3 Merge remote-tracking branch 'upstream/master' into cake-day 2020-07-08 17:21:44 +02:00
cd4e0ab3c2 HTML title bugs.
- Fixing HTML titles for some pages. Fixes #801
- Removing WebSocketService.Instance.site, fetching site on demand now.
2020-07-08 01:02:14 -04:00
Filip785
68e9755e59 Add cake day display in user page & posts/comments #682 2020-07-08 02:28:47 +02:00
Andy Coupe
587731583f
improve lighthouse best practices audit (#863)
* improve safety of cross origin links

* add additional safety for cross origin links

* remove duplicates
2020-06-30 09:40:57 -04:00
dc94e58cbf Merge branch 'master' into federation_merge_from_master_2 2020-06-23 21:11:38 -04:00
5594bed6a8 Merge branch 'master' into use-pictrs-1 2020-06-12 17:51:37 -04:00
Lorenz Schmidt
13771d56cd
Add default themes with media queries (#796)
* Indicate unstable API in README and mdbook

* Support user preference for light and dark theme

* Add default themes and load them in `setTheme`

* Fixes #758
2020-06-10 11:11:51 -04:00
bd26e4e9c1 Fixing some front end pictshare to pictrs conversions. 2020-06-09 17:17:24 -04:00
0f1a8ec928 Merge branch 'master' into federation 2020-06-09 14:01:26 +02:00
e583e45d9a Use pictrs instead of pictshare 2020-06-08 19:52:32 +02:00
913383ca75 Removing autocomplete for register and user settings password fields.
- Fixes #708
2020-05-12 14:36:22 -04:00
38cdfdf7e0 Changing federated community and user links and searching.
- Search: !community@instance, @user@instance
- Representation: community@instance, user@instance
2020-04-30 11:45:12 -04:00
fcf1c65fc1 Front end federation names and links for users, posts, and communities. 2020-04-14 19:18:13 -04:00
bde422ab30 Changing to btn-outline-light 2020-03-20 18:52:45 -04:00
0050ae74a4 Switch to radios for user and inbox pages for clarity. Fixes #608 2020-03-20 18:41:42 -04:00
f76c3af557 Adding clearer goto context.
- Adding context props.
- Making link / context the first selectable on user and inbox page.
- Making icons a little bigger.
- #609
2020-03-20 16:55:59 -04:00
f8ea6a527d Hide user karma on details page. Fixes #585 2020-03-08 14:33:04 -04:00
cf516fcc83 Show ago for user details. Fixes #586 2020-03-08 14:29:17 -04:00
44bbc45973 A first pass at adding icons, and tippy tooltips.
- Adding icons for post-listing, comment-node, and navbar.
- Adding html titles.
- Updating moment expand to use users locale.
2020-03-03 02:29:45 -05:00
56cd103209 Fixing some technical debt. Fixes #524 2020-02-08 23:20:11 -05:00
ecd10482a6 Add new comments views to main and community pages. Fixes #480 2020-02-07 23:05:15 -05:00
d4bc70b61e Merge branch 'websocket_reconnect_reload' into dev 2020-02-04 12:21:49 -05:00
2286394f79 Some corrections to total user points. 2020-02-04 11:29:54 -05:00
b0b50098a4 Websocket reconnect reload page data. Fixes #504 2020-02-04 11:19:05 -05:00
Richie Zhang
bf9a45e2a1 Display a given user's total score. 2020-02-03 15:20:59 -08:00
ac943f8951 Finishing up interpolation rework. 2020-02-02 13:50:44 -05:00
Richard
2f9a052f89 usability features
This are all the commits from another PR combined into a single commit.
2020-01-31 21:52:27 +01:00
aa5a911edc Fixing front end error messages. Fixes #462 2020-01-25 09:58:53 -05:00
ac1d5f2b86 Done merging http-api and private_message 2020-01-23 19:17:42 -05:00
3b4258096c Adding a toaster to replace alerts. Fixes #457 2020-01-22 22:29:11 -05:00