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
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
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
f443617966 Fix some deepsource Python style complaints 2022-01-28 00:07:57 -08:00
Eggbertx
e55d00adb2 Add sass watching to build.py 2022-01-27 23:59:03 -08:00
Eggbertx
8b92872677 Add Jest for JavaScript testing 2022-01-27 23:26:30 -08:00
Eggbertx
1be572dc40 Add filename truncating template function 2022-01-27 21:35:28 -08:00
Eggbertx
a4149d4c5d Separate post into separate template 2022-01-27 21:02:37 -08:00
Eggbertx
7c5a1803b5
Merge pull request #55 from gochan-org/dependabot/npm_and_yarn/frontend/cached-path-relative-1.1.0
Bump cached-path-relative from 1.0.2 to 1.1.0 in /frontend
2022-01-27 09:34:20 -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
39df19bd46 Smothen diagonal line on page thumbnails 2022-01-19 23:10:39 -08:00
Eggbertx
c72850a4eb Add thumbnails for more filetype support
Related to issue #37
2022-01-19 23:00:27 -08:00
Eggbertx
0c75e8fb41
Merge pull request #54 from gochan-org/deepsource-fix-78b6935c
Refactor `if` expression
2022-01-16 23:38:14 -08:00
deepsource-autofix[bot]
b484f7c969
Refactor if expression 2022-01-17 07:37:47 +00:00
Eggbertx
35e469f58d
Merge pull request #53 from gochan-org/deepsource-fix-8d9a0e85
Remove unnecessary whitespace
2022-01-16 23:36:21 -08:00
deepsource-autofix[bot]
90752d13bc
Remove unnecessary whitespace 2022-01-17 07:34:39 +00:00
Eggbertx
351737117d Make changes to build scripts as suggested by deepsource 2022-01-16 23:12:28 -08:00
DeepSource Bot
58279f535a Update .deepsource.toml 2022-01-17 05:37:32 +00:00