Commit graph

244 commits

Author SHA1 Message Date
SleeplessOne1917 61255bf01a v0.18.1-rc.7 2023-06-30 16:26:09 -04:00
SleeplessOne1917 e658e36420 v0.18.1-rc.6 2023-06-30 16:26:00 -04:00
Diamond a7592d74bb
Enforce SameSite=Strict (#1713) 2023-06-30 09:51:41 -04:00
Dessalines 9e7fec772d v0.18.1-rc.5 2023-06-29 16:20:38 -04:00
Dessalines b73cb808e4 v0.18.1-rc.4 2023-06-29 10:40:19 -04:00
SleeplessOne1917 751495702c
Use git hash to break cache (#1684)
* Use git hash to break cache

* Address PR feedback

* Make hash docker agnostic

* Add trailing slash

* Update .prettierignore

Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>

* Remove debugging log

* implement getStaticDir util

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-29 10:29:33 -04:00
Dessalines eee1f443a8 Removing unecessary timezone adjusting 2023-06-29 08:59:54 -04:00
Dessalines 083e468df5 v0.18.1-rc.3 2023-06-29 01:11:05 -04:00
Dessalines a2716d5f48
Fixing timezone issue with date-fns. Fixes #1680 (#1681)
Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-28 23:09:25 -04:00
Dessalines 4674f6ff57 v0.18.1-rc.2 2023-06-28 17:00:43 -04:00
Dessalines d8f4cc328e v0.18.1-rc.1 2023-06-27 08:10:42 -04:00
SleeplessOne1917 e8dda77d4b
Fix comments expanding when they're not supposed to (#1540) 2023-06-24 00:06:19 -04:00
SleeplessOne1917 25e9acee39 Merge branch 'main' into reduce-bundle 2023-06-23 10:39:01 -04:00
Dessalines 4a7bfe41d9 v0.18.0 2023-06-23 08:40:00 -04:00
Dessalines 2f59332400 v0.18.0-rc.8 2023-06-23 07:06:05 -04:00
SleeplessOne1917 a2568a41f3
Merge branch 'main' into reduce-bundle 2023-06-23 03:31:29 +00:00
SleeplessOne1917 8dc38c7cee Remove unused dep 2023-06-22 23:30:41 -04:00
Dessalines fdb370a88d v0.18.0-rc.7 2023-06-22 21:16:51 -04:00
SleeplessOne1917 d0dff77377 Replace momentjs with date-fns 2023-06-22 19:33:02 -04:00
Dessalines 902930bb9d v0.18.0-rc.6 2023-06-22 08:52:52 -04:00
Dessalines f7df831499 v0.18.0-rc.5 2023-06-21 19:48:43 -04:00
Dessalines 5c55b41971
Upgrade lemmy-js-client to 0.18.0-rc.2 (#1445)
* Updating translations.

* Upgrading lemmy-js-client.
2023-06-21 15:08:21 -04:00
Dessalines ffa7deee81 v0.18.0-rc.4 2023-06-21 08:31:29 -04:00
Jay Sitter cc64a1fec9 feat: Drop dependency for tsconfig-paths-webpack-plugin 2023-06-20 17:40:14 -04:00
Alec Armbruster baf12e6952
Merge branch 'main' into breakout-role-utils 2023-06-20 16:00:20 -04:00
Alec Armbruster fe8368548b
add tsconfigpathsplugin to resolve 2023-06-20 15:48:42 -04:00
Dessalines 54b5d62df5 v0.18.0-rc.3 2023-06-20 10:20:21 -04:00
Dessalines 1a982bd17d v0.18.0-beta.9 2023-06-20 09:20:12 -04:00
Jay Sitter c77086a9d5
feat: Bootstrap 5 (#1378)
* feat: Use Bootstrap 5; remove Bootstrap 4

* feat: Add link decoration override global var

* fix: Change sr-only to visually-hidden

* fix: Fix missing toggle button classes

* fix: Use darker green to pass 3:1 contrast and allow foreground color generation

* fix: Replace all mr- and ml- classes with me- (end) and ms- (start) classes

* fix: Replace all pr- and pl- classes with pe- (end) and ps- (start) classes

* fix: Replace custom-select with form-select d-inline-block

* fix: Change max-width to Bootstrap 4's max-width

* fix: Fix badge colors

* fix: Replace deprecated btn-block class with d-block

* fix: Temporary fix for missing btn-block styles

* fix: Fix margin-left auto and margin-right auto

* fix: Fix default border color

* fix: Fix some button widths

* fix: Fix form row margins

* fix: Remove theme color maps; no longer necessary in Bootstrap 5

* fix: Remove unused gray

* test commit

* fix: Fix deprecated input-group-append usage

* fix: Add missing col-form-label classes

* fix: Fix some column widths

* fix: Fix language dropdown style regression

* fix: Fix toast background color

* fix: Fix missing colors in red themes

* fix: Fix default radio button appearance for toggles

* fix: Fix missing margin in search form

* fix: Fix search form widths

* fix: Fix rate limit form columns

* fix: Fix search filters layout

* fix: Fix weird table background issue; re-compile from main updates

* fix: Fix modlog filter layout

* fix: Fix some horizontal margins

* fix: Fix incorrect usage of input-group

* chore: Empty commit to re-trigger Woodpecker job

* fix: Fix incorrect Bootstrap 5 padding class

* fix: Tighten up the home filter bars for the hell of it

* fix: Fix home filter bar gap

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-20 08:01:29 -04:00
SleeplessOne1917 2678dd2a3d
Add scripts to make managing translations easier (#1414) 2023-06-20 07:57:09 -04:00
Dessalines a7e5c5ee8a v0.18.0-rc.2 2023-06-19 11:29:57 -04:00
Jay Sitter 9f0657ab9b feat(a11y): Add eslint-plugin-jsx-a11y 2023-06-17 15:46:51 -04:00
SleeplessOne1917 6c998ed862
Merge branch 'main' into route-data-refactor 2023-06-17 02:25:18 +00:00
abias 4d716e039b Merge branch 'main' into route-data-refactor 2023-06-16 18:17:17 -04:00
abias 71336002e7 Fix first loads not working 2023-06-16 18:12:14 -04:00
SleeplessOne1917 242eeb5646
Merge branch 'main' into generate-theme-css 2023-06-16 21:07:49 +00:00
Dessalines e0cc7ba3c3
Adding a few more 0.18.0 API changes. (#1324)
- Removes number_online
2023-06-16 17:06:14 -04:00
SleeplessOne1917 4c67ff255b
Merge branch 'main' into generate-theme-css 2023-06-15 15:51:52 +00:00
Dessalines 89be27bb9d
Add long polling to update unread counts in navbar. (#1271)
* Upping version.

* Add long-polling to update unread counts in navbar.

- Fixes #1148

* Using async for polling.

* Update src/shared/utils.ts

Co-authored-by: Sander Saarend <sander@saarend.com>

* Adding window visibility check, removing generic sleep.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Sander Saarend <sander@saarend.com>
2023-06-14 20:28:20 -04:00
Dessalines 4152928331 Upping version. 2023-06-14 08:21:52 -04:00
SleeplessOne1917 2b1af707c3
Use http client (#1081)
* Beginning work on websocket -> http client conversion.

* About 30% done.

* half done.

* more done.

* Almost passing lint.

* Passing lint, but untested.

* Add back in event listeners.

* Fixing some community forms.

* Remove webpack cache.

* fixing some more.

* Fixed ISOwrappers.

* A few more fixes.

* Refactor utils

* Fix instance add/remove buttons

* Not catching errors in isoWrapper.

* Wrap Http client

* Fixing up tagline and ratelimit forms.

* Make all http client wrapping be in one place

* Reworking some more forms.

* Upgrading lemmy-js-client.

* Fixing verify email.

* Fix linting errors

* Upgrading woodpecker node.

* Fix comment scrolling rerender bug.

* Fixing a few things, commenting out props for now.

* v0.18.0-beta.1

* Trying to fix woodpecker, 1.

* Trying to fix woodpecker, 2.

* Handroll prompt

* Add navigation prompt to other pages

* Fix prompt navigation bug

* Fix prompt bug introduced from last bug fix

* Fix PWA bug

* Fix isoData not working

* Fix search page update url

* Fix sharp issue.

* v0.18.0-beta.2

* Make create post pre-fetch communities

* Fix bug from last commit

* Fix issue of posts/comments not being switched when changing select options

* Fix unnecessary fetches on home screen

* Make circular icon buttons not look stupid

* Prevent unnecessary fetches

* Make login experience smoother

* Add PWA shortcuts

* Add related application to PWA

* Update translations

* Forgot to add post editing.

* Fixing site setup.

* Deploy script setup.

* v0.18.0-beta.4

* Sanitize again.

* Adding sanitize json function.

* Upping version.

* Another sanitize fix.

* Upping version.

* Prevent search nav item from disappearing when on search page

* Allow admin and mod actions on non-local comments.

* Fix mobile menu collapse bug

* Completely fix prompt component

* Fix undefined value checks in use_http_client_2 (#1230)

* fix: filter out undefined from posts

* fix: emoji initialisation passing undefined

* fix: || => ?? to be more explicit

* linting

---------

Co-authored-by: Alex Maras <alexmaras@gmail.com>

* Re-add accidentally removed state

* Fix dropdown bug

* Use linkEvent where appropriate

* Fix navigation warnings.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Alex Maras <dev@alexmaras.com>
Co-authored-by: Alex Maras <alexmaras@gmail.com>
2023-06-14 08:20:40 -04:00
Florian Heft a170a0cc74 Added npm scripts to rebuild theme files
* Add Bootstrap 4 dependency
* Add scripts to compile theme files using SASS
* Remove circular dependency of theme variables
  and Bootstrap base variables
2023-06-14 01:14:18 +02:00
Yuri Pieters 009bba35a5 Specify package manager version in package.json
This setting is picked up by Corepack, and it's a way for others to concretely know which package manager they should use.
2023-06-11 13:37:53 +01:00
abias 06a553c7a4 Hopefully stop lint command from erroring 2023-05-23 08:34:20 -04:00
SleeplessOne1917 c311bca8d2
Merge branch 'main' into nicer-error-hnadling 2023-05-23 12:07:08 +00:00
SleeplessOne1917 ffe95ee1c6
Navbar hide menu fix (#1033)
* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags
2023-05-21 23:31:08 -04:00
abias 5068df6bf5 Merge branch 'main' into nicer-error-hnadling 2023-05-15 20:34:45 -04:00
Dessalines 3143788d19 Changing all bigints to numbers 2023-05-15 15:53:29 -04:00
Dessalines 6ac5435fe9
Upgrade lemmy-js-client to work with bigints. Fixes #1018 (#1022) 2023-05-15 14:39:11 -04:00
abias dbee2533a2 Fix things not working in production build 2023-05-14 23:45:21 -04:00