Commit graph

78 commits

Author SHA1 Message Date
ernestwisniewski
4b30b6d764
Redirect error on create_post page for not logged in users. #937 (#938) 2020-07-11 10:13:45 -04:00
Tony Antonov
8d24659892
Forbid users to use empty titles for posts (#930)
- Add a regex that checks if string contains anything but whitespace
- Check for whitespace-only titles on post creation and edit
- Trim whitespace from titles before saving
- Add frontend validation to title
2020-07-10 21:15:53 -04:00
Dessalines
8e96507cb1
Replacing selectr with choices.js for community searching. (#932)
- Fixes #839
- Fixes #847
2020-07-10 14:01:45 -04:00
db09730d5f Removing twemoji, and the massive emoji picker. Fixes #895 2020-07-09 13:32:23 -04:00
32d43b85b9 Blocking page refresh when forms are filled. Fixes #671 2020-07-08 14:32:37 -04: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
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
318b8c691a Coerce empty post form to undefined. Fixes #602 2020-06-22 19:27:42 -04:00
63fbf70eaa Disable submit when loading. Fixes #706 2020-06-22 19:05:55 -04:00
c1dbeb43c9 Making comment, post, and message preview a card. Fixes #817 2020-06-22 18:50:06 -04:00
4cf1f080bf Adding delete picture via pict-rs delete tokens. Fixes #505 2020-06-10 22:47:06 -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
d9ec95ab5b For top-bar post creation, dont select a default community. Fixes #729 2020-05-28 12:55:18 -04:00
fcf1c65fc1 Front end federation names and links for users, posts, and communities. 2020-04-14 19:18:13 -04:00
1336b4ed60 Merge branch 'dev' into federation 2020-04-14 16:07:20 -04:00
676690097f Use twemoji style for emoji picker. 2020-04-12 14:55:52 -04:00
d6d040f5da Add Emoji squashed commit. 2020-04-12 12:47:48 -04:00
ac280782b2 Iframely and pictshare backend mostly done. 2020-03-07 18:31:13 -05:00
a67a69f95e Ask for confirmation on leaving pages with incomplete forms. Fixes #529 2020-03-06 14:57:52 -05: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
83d17b2643 Fix minor issue with selector. Fix issue with truncate wrapping. 2020-02-15 16:09:53 -05:00
0b69974e49 Add community refine by searching on new post creation. Fixes #521 2020-02-12 12:12:19 -05:00
214c1d3fd1 Fix issue with post creating redirecting other posts. Fixes #520 2020-02-07 10:12:05 -05:00
65a6e7731c Increasing post title length limit to 200. Fixes #515 2020-02-06 13:10:43 -05: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
e4713829df Allow pasting images into comment boxes and post url box. Fixes #472 2020-01-27 21:59:38 -05:00
aa5a911edc Fixing front end error messages. Fixes #462 2020-01-25 09:58:53 -05:00
608856b6cd Adding autocomplete to post, community, message, and site forms. Fixes #453 2020-01-24 13:59:50 -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
dcd60228ed Strongly typing WebsocketJsonResponse. Forgot comment-form.tsx 2020-01-19 00:38:45 -05:00
a044718066 First pass at fixing UI to work with new websocketresponses. 2020-01-18 23:54:10 -05:00
82253f625b Upgrade package.json. 2020-01-06 11:22:51 -05:00
747a8f5b96 Fixing create_post, create_community, and login pages.
- Includes fetching the site for `enable_nsfw` info. Fixes #400
2020-01-03 13:52:21 -05:00
0b04aec602 Finally got debounce working!
- Fixes #367
- Fixes #376
2020-01-01 11:09:56 -05:00
e5a9ccaff1 Preview image type post.
- Fixes #383
2019-12-29 16:56:55 -05:00
1f3a16b159 Post editing fix. 2019-12-28 21:10:07 -05:00
f060ffadcc Removing debounce. 2019-12-28 19:06:19 -05:00
ea3adad878 Fixing suggested title filling. 2019-12-15 11:29:50 -08:00
f2b2f99a51 Fix post title and url change.
- Fixes #368
2019-12-14 16:15:28 -08:00
4cbfe6d0fc Adding debounce for post name and url change
- Fixes #367
2019-12-11 16:25:32 -08:00
fca8e6a0a9 Adding some site oriented settings.
- Adding option to close registration. Fixes #350
- Adding option to disable showing NSFW buttons. Fixes #364
- Adding option to disable downvotes. Fixes #239
2019-12-11 12:21:47 -08:00
bcf994efe9 Adding archive button for valid post urls.
- Fixes #342
2019-11-21 18:14:59 -08:00
4e55612833 Running prettier on code.
- #305 , #309
2019-10-18 17:20:27 -07:00
7004451db4 Don't allow image uploads for non-logged-in users.
- Fixes #297
2019-10-17 20:19:20 -07:00
461ae5d790 Add image loading indicator. 2019-09-08 09:54:53 -07:00