Commit Graph
463 Commits
Author SHA1 Message Date
Xyphyn 2a901e89d4 misc: use outline icons 2023-08-09 11:41:20 -07:00
Xyphyn 1ef6d804d8 misc: remove spinner 2023-08-09 11:36:57 -07:00
Xyphyn 7e1bca149f misc: improve image loading 2023-08-09 11:35:10 -07:00
Xyphyn 3f1becf792 feat: add ability to click on images, close #86 2023-08-09 11:19:45 -07:00
Xyphyn 8a1fe35897 feat: add option to hide read posts 2023-08-09 10:50:38 -07:00
Xyphyn adfe8a6e7d misc: increase post body textarea size 2023-08-09 10:33:18 -07:00
Xyphyn f2c9b5171b feat: update placeholder system 2023-08-08 15:44:55 -07:00
Xyphyn 6c7073fcfc feat: use last community in community form 2023-08-08 15:21:25 -07:00
Xyphyn 5c04bdb677 feat: add placeholder component 2023-08-05 12:48:15 -07:00
Xyphyn fe8db93eba feat: add preview option 2023-08-04 15:27:57 -07:00
Xyphyn 2eb491f310 feat: use markdown editor in post body 2023-08-04 13:59:48 -07:00
Xylight 3ef90fdf26 Revert "Rearrange post meta for better alignment in compact post view (#63)" (#64)
This reverts commit 6b496f43f5.
2023-08-02 14:40:08 -07:00
6b496f43f5 Rearrange post meta for better alignment in compact post view (#63)
* Compact post view: Allow post meta to fill the card & align post title with thumbnail

* misc: fix gap

---------

Co-authored-by: zamuz <>
Co-authored-by: Xyphyn <james@xylight.dev>
2023-08-02 14:37:16 -07:00
Xyphyn 87612d6507 feat: switch to a string instead of enum 2023-08-02 14:22:27 -07:00
Xyphyn 4970d44033 fix: #60 2023-08-01 18:40:15 -07:00
Xyphyn 029cf1e133 feat: add object resolving 2023-08-01 15:43:44 -07:00
Xyphyn 2da415b670 feat: switch to new account system 2023-08-01 13:00:06 -07:00
Xyphyn 1d9bfb44fd fix #52 2023-08-01 10:03:01 -07:00
Xyphyn 783ecbcb5f misc: improve sidebar 2023-07-31 15:01:39 -07:00
Xyphyn b4bcadf40d misc: re-add markdown to posts 2023-07-31 13:00:35 -07:00
Xyphyn d23b58776c fix: fix another centering issue and line cutoff issue 2023-07-30 15:25:39 -07:00
Xyphyn d2f37bff0d misc: fix centering 2023-07-30 15:21:36 -07:00
Xyphyn a1b5717d94 hotfix: fix color 2023-07-30 15:15:37 -07:00
Xyphyn 62baf475b6 design: tweak design 2023-07-30 14:44:43 -07:00
Xyphyn d9da0d9fd0 misc: improve bundle size 2023-07-30 13:11:46 -07:00
Xyphyn 32712689d1 misc: add post deletion toast 2023-07-30 11:56:44 -07:00
Xyphyn 8b752393e0 misc: change thumbnail size 2023-07-29 20:01:44 -07:00
Xyphyn e1ac96def3 a11y: improve accessibility 2023-07-29 19:59:55 -07:00
Xyphyn 8488bb1e17 fix: change <p> to <div>, as it wasn't necessary for semantics 2023-07-29 15:24:36 -07:00
Xyphyn d65c62d2d9 misc: increase post body length before cutoff 2023-07-29 12:47:23 -07:00
Xyphyn ba6fc8cbeb misc: add markdown to body preview 2023-07-29 12:40:06 -07:00
Xyphyn 3047a56106 misc: rename isMod to amMod 2023-07-29 12:40:06 -07:00
Xyphyn 32f65add46 misc: tweak comments look 2023-07-29 10:22:03 -07:00
Thomas J Faughnan Jr 34c712c01c fix: parse date strings as UTC
For posts, comments, and other objects, the `published` attribute is a
string containing an ISO 8601 timestamp. This timestamp is UTC, though
it is not explicit in the string's contents. When the `Date` constructor
is used on such strings, they are parsed as though they are local
timestamps. According to [1]:

> When the time zone offset is absent, date-only forms are
> interpreted as a UTC time and date-time forms are interpreted as local
> time. This is due to a historical spec error that was not consistent
> with ISO 8601 but could not be changed due to web
> compatibility.

This patch explicitly appends a 'Z' to the `published` string when it is
used as the argument to the `Date` constructor.

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
2023-07-28 20:02:01 -04:00
Xyphyn 998217a244 design: tweak colors for post actions 2023-07-28 14:05:28 -07:00
Xyphyn 74fd7714ce fix #34 2023-07-28 10:35:23 -07:00
Xyphyn 802846ffdb misc: fix color 2023-07-27 16:56:45 -07:00
Xylight d3aae647a8 feat: add moderation tools (#33)
* feat: Add post submission removal

* feat: add comment submission removal

* feat: add report viewing and resolving

* misc: add notification dot

* misc: add locked thread badge

* feat: add thread locking

* feat: add initiating message conversations

* feat: add post pinning/unpinning

* misc: bump version

* fix: tweak lock colors

* fix: update post data on pin

* fix: return if reason is empty
2023-07-27 15:53:31 -07:00
Xyphyn c0aaf08a9f feat: add sorts to user pages 2023-07-27 12:25:26 -07:00
Xyphyn 8e75e05585 fix: add pageination to user profiles 2023-07-27 11:52:09 -07:00
Xyphyn ed42b70537 misc: decrease link emphasis 2023-07-27 11:28:01 -07:00
Xyphyn 4b1d6c274f fix: fix edit post dialog 2023-07-27 11:23:46 -07:00
Peter Bui 87fcf27a82 fix: allow long usernames to wrap (#32)
Fixes #31 by adding flex-wrap to the UserLink span for usernames.
2023-07-27 09:19:19 -07:00
Xyphyn 6fcef02809 feat: add reporting 2023-07-26 19:13:26 -07:00
Xyphyn f835e31fb9 misc: fix modal size 2023-07-26 17:11:48 -07:00
Xyphyn 1400779b18 misc: tweak user link color 2023-07-26 16:08:35 -07:00
Xyphyn 013d2341f9 fix: fix posts not working 2023-07-26 15:51:47 -07:00
Peter Bui fb6b886c3b fix: include post url if it is not an image upload (#25)
Currently posts creation omits the URL if it is not an image upload.
2023-07-26 14:27:24 -07:00
Peter Bui 03fa81bec8 fix: only list/search subscribed communities (#26)
Right now, listing and searching 'All' communities makes it difficult to
find the appropriate community to post to, particularly if it has a
common name such as technology, news, or linux.

Downside of this is that you can only post to communities you subscribe
to... but this was what we did before 9c9a3dc.
2023-07-26 14:26:50 -07:00
Xyphyn e5492313bd tweak: change colors 2023-07-26 13:23:16 -07:00