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

1706 commits

Author SHA1 Message Date
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
Eggbertx
1d416bb52c Prevent build.py from deleting consts.js when installing frontend 2022-03-12 15:57:51 -08:00
Eggbertx
bdc0ed41b5 Move misplaced whitespace in post 2022-03-06 10:49:05 -08:00
Eggbertx
42a80fec64 Start using transactions in gochan-migrate 2022-03-06 10:28:31 -08:00
Eggbertx
a2d6d88d08 Get rid of outdated/no longer used migration stuff 2022-03-01 17:34:40 -08:00
Eggbertx
8ec05c7efe Move SQL keyword replacement stuff to its own function 2022-02-24 17:37:41 -08:00
Eggbertx
d0a6341bf6 Add support for sql.Tx transactions to gcsql 2022-02-24 17:26:29 -08:00
Eggbertx
60fd5451bf Execute board creation SQL before creating dir, resolves issue #27 2022-02-24 17:21:33 -08:00
Eggbertx
8840693a8b Add function to check if Pre2021 migration is already complete
(still need to do kusaba x and tinyboard)
2022-02-19 14:55:45 -08:00
Eggbertx
69fb7c9d31 Move post migration methods a separate file 2022-02-17 22:45:47 -08:00
Eggbertx
4379886647
Merge pull request #56 from gochan-org/deepsource-fix-79956683
Function call can be replaced with helper function
2022-02-13 14:07:27 -08:00
deepsource-autofix[bot]
c68a2ce726
Function call can be replaced with helper function 2022-02-13 22:06:50 +00:00
Eggbertx
a84d41c7d3 Remove no longer used migration test
Replaced by get_pre2021.sh
2022-02-10 17:12:54 -08:00
Eggbertx
74b5c38fe6 Don't automatically move the files
This may eventually change so files can be moved or copied in the future
2022-02-10 17:11:10 -08:00
Eggbertx
64123e8e6b Add stuff for migrating boards to gochan-migration 2022-02-09 10:32:36 -08:00
Eggbertx
3491a7b7b8 Add methods for handling board, thread, staff, etc migration 2022-02-09 09:10:24 -08:00
Eggbertx
c388ef3984 Reopen gochan-migration development 2022-02-07 18:28:27 -08:00
Eggbertx
3df8dbe88d Alter DBPREFIXwordfilters table if needed on startup 2022-02-05 14:18:38 -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
03e74ea8a4 Use constants for version comparison 2022-02-01 21:03:07 -08:00
Eggbertx
2b4e1bfc51 Replace sql.Drivers call with manual array
add GochanConfig testing property that prevents writing if true
2022-02-01 16:41:05 -08:00
Eggbertx
b85c943cf5 Add manage page to clear all login sessions for the current user at /manage?action=clearmysessions
Resolves issue #40
2022-01-31 22:35:47 -08:00