1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-07 06:06:23 -07:00
Commit graph

169 commits

Author SHA1 Message Date
Eggbertx
0950a5320f Delete post element if dropdown delete action is used 2022-07-03 17:55:27 -07:00
Eggbertx
38d1337198 Add style rules to eslint config 2022-07-01 15:52:51 -07:00
Eggbertx
1e809845a7 Install ESLint for code analysis 2022-07-01 11:16:13 -07:00
Eggbertx
7fa320300e Replace jquery-ui-dist npm package with jquery-ui 2022-07-01 10:26:29 -07:00
Eggbertx
297b692c6b Add unwatch thread action 2022-06-30 16:56:59 -07:00
Eggbertx
26fc379a1a Update path in JS tests and add localStorage stuff 2022-05-12 21:46:27 -07:00
Eggbertx
d264cb12ac Merge /sass and /frontend for better organization 2022-05-12 21:24:07 -07:00
Eggbertx
ee2f603891 Upgrade npm packages 2022-05-12 20:06:09 -07:00
deepsource-autofix[bot]
2371e86c50
Replace if-else with ternary operator 2022-05-13 02:47:23 +00:00
Eggbertx
4e4974b832 Don't care about the current page as long as ref'd post is on it 2022-05-12 11:46:52 -07:00
Eggbertx
fc7facc5f8 Only use post previews/inline expansion if enabled 2022-05-12 00:46:36 -07:00
Eggbertx
ea57e1fa34 Update top bar pinned status when settings are saved 2022-05-08 14:27:59 -07:00
Eggbertx
cc9d0ed828 Use different functions for cookie return types 2022-05-08 13:15:39 -07:00
Eggbertx
744e915d51 Remove unneeded property strings from selectors 2022-05-08 11:38:00 -07:00
Eggbertx
91aaa286bd Use Setting subclasses 2022-05-07 17:15:27 -07:00
Eggbertx
5bb1dd421a Remove extra type declarations file 2022-05-07 15:53:31 -07:00
Eggbertx
6082c56eff Generate a random password in JS if it isn't set already 2022-05-07 12:47:13 -07:00
Eggbertx
672b1d8b32 Move a lot of cookie requests to localStorage, add localStorage typed getter functions 2022-05-07 01:05:41 -07:00
Eggbertx
795361947e Completely revamp settings, also use localStorage 2022-05-06 11:23:48 -07:00
Eggbertx
00e6a3558a Add removeLightbox for cleaning up lightboxes 2022-04-30 16:21:58 -07:00
Eggbertx
2569fa3605 Replace builtin JS prompt with our own 2022-04-30 15:45:09 -07:00
Eggbertx
cf5e1b95d7 Don't show Delete file on posts without uploads 2022-04-25 20:34:53 -07:00
Eggbertx
becb8cd8c6 Improve lightbox and prompt functionality 2022-04-25 19:43:10 -07:00
Eggbertx
6ddfaedc11 Make themes use div#content more 2022-04-14 21:20:32 -07:00
Eggbertx
4446ac7b3a Make cookies.js properly use webroot 2022-04-14 11:03:50 -07:00
Eggbertx
307a626063 Make post reporting from JS actually work 2022-04-06 00:23:04 -07:00
Eggbertx
d423398eff Replace Gulp with Parcel for js bundling 2022-03-24 16:05:50 -07:00
Eggbertx
5551bfc06c Add type declarations for staff actions, info 2022-03-20 21:17:09 -07:00
Eggbertx
581eb3967b Add types declaration file 2022-03-20 19:17:55 -07:00
Eggbertx
be09a8c7d5 Fix semicolon typo 2022-03-20 18:06:47 -07:00
Eggbertx
1d416bb52c Prevent build.py from deleting consts.js when installing frontend 2022-03-12 15:57:51 -08:00
Eggbertx
9656b9f3d0 Move dbconnect.sh to a script
Also update frontend README and booststrap start text
2022-02-05 14:17:24 -08:00
Eggbertx
d1ae92b01c Fix issue with videos not returning to thumbnails 2022-01-29 20:19:03 -08:00
Eggbertx
365ccc6d8b Add cookie tests 2022-01-29 20:02:50 -08:00
Eggbertx
34a4e4d4d1 Test all BBCodes + form submission code 2022-01-29 16:53:38 -08:00
Eggbertx
605f0280b3 Fix invalid event selection syntax 2022-01-29 14:01:34 -08:00
Eggbertx
cd935ee32c Move event handling to its own script, add BBCode testing 2022-01-29 13:58:36 -08:00
Eggbertx
b4d1aef54b Clarify info on potential jest installation issues 2022-01-29 11:52:39 -08:00
Eggbertx
8b92872677 Add Jest for JavaScript testing 2022-01-27 23:26:30 -08:00
dependabot[bot]
8116e2f204
Bump cached-path-relative from 1.0.2 to 1.1.0 in /frontend
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/ashaffer/cached-path-relative/releases)
- [Commits](https://github.com/ashaffer/cached-path-relative/commits)

---
updated-dependencies:
- dependency-name: cached-path-relative
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-27 15:32:39 +00:00
Eggbertx
e9be46b260 Only open the qr box when it's usable, related to issue #51
Also remove the deprecated DropDownMenu class
2022-01-09 10:55:50 -08:00
Eggbertx
9fb5ebbd0b Turn staff action map into an array for more control over ordering 2022-01-01 16:03:39 -08:00
Eggbertx
c4e4b775ba Merge gochan-frontend.d.ts and gochan.d.ts 2022-01-01 13:03:11 -08:00
Eggbertx
11d498c4b0 Use Array.filter instead of for/of 2022-01-01 12:52:36 -08:00
Eggbertx
0ad1afb7c9 Fix JS inserting bbcode even when ctrl isn't pressed 2022-01-01 10:53:33 -08:00
Eggbertx
5c2673cf66 Remove watched thread button until watched threads work 2021-12-30 14:58:22 -08:00
Eggbertx
a7e7252376 Remove most of the nasty spaghetti code that relies on HTML output
Use new manage API to get actions
2021-12-30 14:50:05 -08:00
Eggbertx
5ab7b8dc90 Add improvements to top bar, post utils 2021-12-29 12:29:39 -08:00
Eggbertx
599a875883 Forgot to replace a self with this in arrow function 2021-12-29 12:23:17 -08:00
Eggbertx
cac3b6374e Copy password from post form to delete post password input 2021-12-29 11:32:33 -08:00