Xyphyn
590eedc0fb
misc: minor tweaks
2023-07-28 18:52:37 -07:00
Xylight
05fcbf09fe
Merge pull request #38 from tfaughnan/main
...
fix: parse date strings as UTC
2023-07-28 17:29:39 -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
035cdc23ed
misc: bump version
2023-07-28 16:29:42 -07:00
Xyphyn
65a1740322
misc: fix Comment.svelte
2023-07-28 16:27:06 -07:00
Xyphyn
55a3b5cfb8
Revert "misc: possibly fix comments not working"
...
This reverts commit fa20d7a6a8 .
modified: src/lib/components/lemmy/comment/Comments.svelte
modified: src/lib/components/lemmy/comment/comments.ts
2023-07-28 16:25:43 -07:00
Xyphyn
3d19318355
misc: Increase post body padding
2023-07-28 16:22:50 -07:00
Xyphyn
fa20d7a6a8
misc: possibly fix comments not working
2023-07-28 14:48:40 -07:00
Xyphyn
6b38edf9c8
misc: tweak comment menu colors
2023-07-28 14:19:46 -07:00
Xyphyn
a362241a72
misc: tweak line height
2023-07-28 14:17:28 -07:00
Xyphyn
fcb21a0e35
fix: disable actions for comment form in edit modal
2023-07-28 14:06:21 -07:00
Xyphyn
998217a244
design: tweak colors for post actions
2023-07-28 14:05:28 -07:00
Xyphyn
4cbb7381cb
misc: switch to commentform for edit modal
2023-07-28 14:03:33 -07:00
Xyphyn
f90ecb703c
misc: add login message to post create
2023-07-28 14:00:42 -07:00
Xylight
128167bfe9
fix 0.18.3 comment loading being different ( #37 )
2023-07-28 13:49:41 -07:00
Xyphyn
583befcb6b
shit
2023-07-28 13:44:16 -07:00
Xyphyn
bec538d386
feat: add spoilers to markdown renderer
2023-07-28 13:25:13 -07:00
Xyphyn
74fd7714ce
fix #34
2023-07-28 10:35:23 -07:00
Cole Gerdemann
0d98986871
Use unprivileged "node" user in Dockerfile ( #35 )
...
* use unprivileged "node" user
* don't chown to node user, better to have no mutate perms
2023-07-28 06:01:34 -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
53ef843cde
feat: add profile page filtering
2023-07-27 12:48:43 -07:00
Xyphyn
575662ae2c
misc: bump version
2023-07-27 12:40:50 -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
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
fe8b0fc616
misc: bump version
2023-07-26 21:47:55 -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
2082072ff5
hotfix: fix report window being shown by default
2023-07-26 19:13:26 -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
Xyphyn
327ef007aa
misc: change community sidebar to a modal
2023-07-26 18:40:26 -07:00
Xyphyn
cdf10a29ff
misc: change default instance
2023-07-26 18:28:20 -07:00
Xyphyn
f835e31fb9
misc: fix modal size
2023-07-26 17:11:48 -07:00
Xyphyn
e535eaa062
misc: make numeric: always
2023-07-26 16:21:21 -07:00
Xyphyn
1400779b18
misc: tweak user link color
2023-07-26 16:08:35 -07:00
Xyphyn
e7c7f4baf3
fix: fix test cases
2023-07-26 15:53:47 -07:00
Xyphyn
013d2341f9
fix: fix posts not working
2023-07-26 15:51:47 -07:00
Xyphyn
e54031faae
fix: make relative dates more compact
2023-07-26 15:37:27 -07:00
Xylight
53227f799e
Update README.md
2023-07-26 15:23:12 -07:00