Commit Graph
29 Commits
Author SHA1 Message Date
James Xylight 7e2590585d impr: use modals for replies, close #466 2025-06-10 11:59:00 -07:00
Xylight 76c581123a fix: Fix lint errors (#559)
* cleanup: postactions styling

* misc: fix first round of errors

* pkg: remove vitest

* fix: fix lint errors stage 2

* fix: fix lint errors stage 3

* fix: fix lint errors, stage 3

* misc: update eslint rules to warn for writable derived
2025-06-09 16:34:06 -07:00
James Xylight df25431c41 misc: change default instance URL to lemdro.id 2025-06-06 12:01:22 -07:00
James Xylight bc05ad549a migrate: run bunx migrate 2025-06-06 11:26:00 -07:00
Xylight 5651ad475d feat: use state based auth instead of store based (#488)
* misc: switch to state for auth

* fix: class based auth not working
2025-02-08 13:49:09 -08:00
James Xylight 6b64e0f59f cleanup: improve reacvtivity on post page, remove useless community icon 2025-02-04 16:56:50 -08:00
James Xylight 4f9219596a fix: inbox comments closed by default 2025-02-04 06:41:49 -08:00
James Xylight 25b1fcf42a cleanup: remove useless animation 2025-02-03 20:27:00 -08:00
James Xylight 87672a667c cleanup: remove list mode 2025-02-03 20:25:48 -08:00
Xylight d597349887 migrate: change settings from a store to a state 2024-10-25 21:09:32 -07:00
Xylight 10ef4123da migrate: convert most components to svelte 5 2024-10-25 19:33:27 -07:00
Xylight 0718c8e0c6 prep: replace $$props.class with props 2024-10-23 19:55:20 -07:00
Xylight 0d0681b687 design: redesign inbox (again) 2024-10-19 14:27:36 -07:00
Xylight 2cc8133e21 misc: make jump button more obvious 2024-09-24 19:19:05 -07:00
Xylight d8975e31a4 feat: show moderator who resolved report, close #395 2024-08-02 16:32:51 -07:00
Xylight 7411e9f778 fix: no margin between postmeta and jump button in commentitem 2024-03-16 16:09:07 -07:00
Xylight 3c74cfe4e6 feat: add admin and moderator badges to posts and comments 2024-03-09 12:00:34 -08:00
Xyphyn 0d08df2ad5 fix: invalid dates 2023-10-03 16:07:40 -07:00
Xyphyn facb1081c9 fix: show community in reports page 2023-10-03 15:55:32 -07:00
Xyphyn 1b4bd8081f feat: add 'cozy' post style 2023-09-23 14:54:58 -07:00
Xyphyn e0aafca7b3 fix: remove dividers and add gap in card view 2023-09-17 15:09:11 -07:00
Xyphyn ae09c5ab92 feat: make comment items and posts consistent 2023-09-17 14:57:52 -07:00
Xyphyn c53ec52d86 feat: switch from card to material 2023-09-04 11:27:19 -07:00
Xyphyn d02d8556d5 switch to mono-svelte Button component 2023-09-03 17:05:45 -07:00
Xyphyn 461a15a1ef feat: add better thread viewing 2023-07-30 13:54:39 -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 ef0cb48710 misc: switch to CommentItem for posts 2023-07-27 11:33:23 -07:00
Xyphyn 1dd179d636 feat: Add search function 2023-07-26 11:39:54 -07:00