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

877 commits

Author SHA1 Message Date
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
Eggbertx
effdb90323
Merge pull request #59 from gochan-org/deepsource-fix-48cf22f9
Replace `if-else` with ternary operator
2022-05-12 19:48:44 -07:00
deepsource-autofix[bot]
2371e86c50
Replace if-else with ternary operator 2022-05-13 02:47:23 +00:00
Eggbertx
d7db444055 Add test patterns to deepsource file 2022-05-12 19:44:39 -07:00
Eggbertx
72cd413da9 Add environment to deepsource javascript analyzer 2022-05-12 11:59:03 -07: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
5bfbeabf13 Fix a bunch of large value copies as suggested by deepsource 2022-05-12 11:28:15 -07:00
Eggbertx
1f3f78d1c0
Merge pull request #58 from gochan-org/deepsource-fix-61ec56d3
Use identity check for comparison to a singleton
2022-05-12 11:04:02 -07:00
deepsource-autofix[bot]
513ede1746
Use identity check for comparison to a singleton 2022-05-12 18:03:29 +00:00
Eggbertx
3f457a133f forgot to add comma to exclude_patterns 2022-05-12 10:59:05 -07:00
Eggbertx
e8018b825a Move deepsource exclude patterns to top level 2022-05-12 10:57:51 -07:00
Eggbertx
725bf85ecc Add exclusion patterns to deepsource file 2022-05-12 10:56:18 -07:00
Eggbertx
fc7facc5f8 Only use post previews/inline expansion if enabled 2022-05-12 00:46:36 -07:00
Eggbertx
d376cfab8b Make file-deleted-box elements properly centered 2022-05-08 16:44:21 -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
f2460848a0 Comment out unnnecessary display css prop for lightbox class 2022-04-30 00:23:13 -07:00
Eggbertx
7255d54050 increase padding for recent posts on front page 2022-04-30 00:19:14 -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
8e417c0640 Have returned JSON error show the given boardid 2022-04-24 17:26:56 -07:00
Eggbertx
6d1e95b307 Set Content-Type in serverutil.ServeJSON and serverutil.ServeErrorPage 2022-04-24 17:13:00 -07:00
Eggbertx
6ddfaedc11 Make themes use div#content more 2022-04-14 21:20:32 -07:00
Eggbertx
55ef8dd3b8 Add div#content to manage pages to make theming easier 2022-04-14 20:43:38 -07:00
Eggbertx
4446ac7b3a Make cookies.js properly use webroot 2022-04-14 11:03:50 -07:00
Eggbertx
fc2e181735 Add JSON serving for post deletion errors 2022-04-10 19:05:56 -07:00
Eggbertx
9cf9edebf7 move serveJSON to public function in serverutil 2022-04-10 16:01:42 -07:00
Eggbertx
307a626063 Make post reporting from JS actually work 2022-04-06 00:23:04 -07:00
Eggbertx
1a104391ec Redirect to referer on report submission 2022-04-05 21:51:08 -07:00
Eggbertx
a9c9b4b376 Remove unnecessary delete() call in copy() 2022-04-05 20:24:21 -07:00
Eggbertx
c37d5cd85a Move ERD image to sql/
Make delete() in build.py properly delete dirs
2022-04-05 19:56:57 -07:00
Eggbertx
27bc7d1b51 Switch build.py back to pre 6dea1fa to avoid breaking pre-existing installations 2022-04-04 21:35:11 -07:00
Eggbertx
959688ae08 Forgot to update build.py to be nicer to macOS users
Also the sample services and configs
2022-04-03 16:07:02 -07:00
Eggbertx
6dea1fab31 Update build.py and gochan to better follow the FHS
NOTE NOTE NOTE NOTE NOTE: You may need to update your configuration
See https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
2022-04-03 16:02:07 -07:00
Eggbertx
5dcc4ffc21 Improve build.py, make copy function merge directories
build.py is (or at least should be) sturdier
2022-04-03 15:54:46 -07:00
Eggbertx
d423398eff Replace Gulp with Parcel for js bundling 2022-03-24 16:05:50 -07:00
Eggbertx
1848e2f073 Add function for handling reports
(still needs a lot of work)
2022-03-20 23:01:18 -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
a83dd4b49c Update go module files 2022-03-20 17:32:44 -07:00