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

1244 commits

Author SHA1 Message Date
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
Eggbertx
f85959c8e3 Add wordfilters manage page 2022-01-31 09:47:19 -08:00
Eggbertx
b180db94dc Make gcsql package more organized 2022-01-30 18:15:15 -08:00
Eggbertx
3addaf57d7 Update WordFilter struct to work with modified table 2022-01-30 17:19:54 -08:00
Eggbertx
c82759011e change board_dir column to board_dirs 2022-01-30 16:21:06 -08:00
Eggbertx
52c3ece854 Modify wordfilter table and add hacky db update function
When I get around to actually making gochan-migrate useful, that function will be moved there
2022-01-30 15:56:16 -08:00
Eggbertx
e2339f98ef Make templates dynamic so I don't forget
Also officially bump up version to 3.0 🎉
2022-01-30 11:56:59 -08:00
Eggbertx
8e706a313c Make template for recent posts page
Also make manage page h1 headers automatic
2022-01-29 23:47:13 -08:00
Eggbertx
33388612d7 Add modifyable title for mgmt pages 2022-01-29 20:46:00 -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