Commit Graph
178 Commits
Author SHA1 Message Date
Xyphyn b4bcadf40d misc: re-add markdown to posts 2023-07-31 13:00:35 -07:00
Xyphyn 715c8f878b feat: add sidebar collapsing 2023-07-31 12:53:57 -07:00
Xyphyn 13b5bcd581 fix: lower padding on mobile 2023-07-31 12:34:50 -07:00
Xyphyn 8f4ec1eb69 fix: remove border if large enough 2023-07-31 12:29:27 -07:00
Xyphyn fcb2dc46ed misc: increase padding 2023-07-31 11:42:26 -07:00
Xyphyn 1ef25aa61f misc: fix button colors 2023-07-31 11:35:59 -07:00
Xyphyn 94a709fea9 fix: community card not sticking 2023-07-31 11:34:05 -07:00
Xyphyn 850d2b480d design: improve layout further 2023-07-31 11:31:19 -07:00
Xyphyn 868deff7f4 misc: remove full width layout option 2023-07-31 11:03:40 -07:00
Xyphyn c4aa521c29 fix: <main> not shrinking 2023-07-31 11:01:47 -07:00
Xyphyn 13f9ac6d9b fix #48 2023-07-31 10:56:04 -07:00
Xyphyn 86dd44adb7 feat: add community sidebar 2023-07-31 10:53:00 -07:00
Xyphyn 6256d6107d misc: add about page 2023-07-31 10:24:52 -07:00
Xyphyn af290f70c6 misc: fix overflow issue 2023-07-30 15:35:17 -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 cfbf0570d3 misc: add option to span whole screen 2023-07-30 14:56:35 -07:00
Xyphyn 45296b60d2 fix: add max-w-full 2023-07-30 14:53:09 -07:00
Xyphyn 62baf475b6 design: tweak design 2023-07-30 14:44:43 -07:00
Xyphyn 461a15a1ef feat: add better thread viewing 2023-07-30 13:54:39 -07:00
Xyphyn 338a758219 misc: add some user badges 2023-07-30 12:28:35 -07:00
Xyphyn e10957ef94 misc: hide instance setting if LINKED_ISNTANCE_URL is set 2023-07-30 11:58:53 -07:00
Xyphyn ca3496a31f misc: change error message 2023-07-30 11:57:59 -07:00
Xyphyn eb1d90478e misc: switch to csr 2023-07-30 11:55:04 -07:00
Xyphyn 8721e61554 hotfix: git added stupid locale stuff because resets dont remove untracked files 2023-07-30 11:09:56 -07:00
Xyphyn a36b9c7c15 a11y: remove invalid roles 2023-07-29 19:53:58 -07:00
Xyphyn 981c18e65f misc: fix relative date component 2023-07-29 19:53:31 -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 1c9661546c feat: add unread filters to inbox and reports 2023-07-29 13:09:40 -07:00
Xyphyn 32f65add46 misc: tweak comments look 2023-07-29 10:22:03 -07:00
Xyphyn 9711ffe4d9 feat: add feed filtering to inbox 2023-07-29 10:21:48 -07:00
Xyphyn 590eedc0fb misc: minor tweaks 2023-07-28 18:52:37 -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 3d19318355 misc: Increase post body padding 2023-07-28 16:22:50 -07:00
Xyphyn f90ecb703c misc: add login message to post create 2023-07-28 14:00:42 -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 53ef843cde feat: add profile page filtering 2023-07-27 12:48:43 -07:00
Xyphyn a39cb60652 feat: Add user blocking 2023-07-27 12:39:01 -07:00
Xyphyn 81270b72d3 feat: Add pagination to inbox page 2023-07-27 12:30:09 -07:00
Xyphyn c0aaf08a9f feat: add sorts to user pages 2023-07-27 12:25:26 -07:00
Xyphyn d427d4b2fc misc: remove useless page 2023-07-27 11:58:17 -07:00
Xyphyn 378580dd9f misc: switch to pagination component 2023-07-27 11:57:56 -07:00
Xyphyn 8e75e05585 fix: add pageination to user profiles 2023-07-27 11:52:09 -07:00
Xyphyn ef0cb48710 misc: switch to CommentItem for posts 2023-07-27 11:33:23 -07:00
Xyphyn b0e9e898f1 fix: fix #28 2023-07-27 11:30:56 -07:00
Xylight 93c670f20a Merge pull request #29 from Xyphyn/moderation
feat: add reporting
2023-07-26 21:46:27 -07:00
Peter Bui 54c03b96dc fix: properly load comments when sorting (#30)
Need to set type_ to 'All' when calling getComments().  Otherwise,
trying sort the comments on a post by "Top" or "New" will refresh
without any comments.
2023-07-26 21:14:44 -07:00
Xyphyn 6fcef02809 feat: add reporting 2023-07-26 19:13:26 -07:00
Xyphyn ff2d424a99 misc: tweak line height 2023-07-26 18:48:09 -07:00
Xyphyn c2746cafaf misc: make user card visible on mobile 2023-07-26 18:42:31 -07:00