Commit Graph

1130 Commits

Author SHA1 Message Date
towards-a-new-leftypol 70847aeff3 formatting: retab some files 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 151c64110d Fix homepage building
- fix sql query that returned rows without files, the only
reason the size summation function worked was because php regexes used
to allow a null argument. Now returns less rows and only those with
files (original sql was semantically wrong)
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol e7de262d71 Twig3: templates - change filter tag to apply tag 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 3d48ccf7e2 More fixes after upgrading to php8 broke everything
- call openBoard inside of catalog build. I have no idea
how it could have been defined before because it depends on a global
variable $board which seems to be only globally defined by openBoard in
functions.php, but that's called later. the fix is to just call
openBoard, that's what tinyboard does.

(somehow the code expected the uri to already be set)
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol d79a8ea78f Twig 3: Use verbatim instead of raw tag in templates
- also ensure we don't pass a null in one of the functions in
  functions.php
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol a0450e49fe retab config-editor.html 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 8e6d472388 Twig3: Fix config-editor.html for loops 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 4cfbec0504 Fix Tinyboard Twig extension date filter 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 1228b2f99d PHP 8: Get login page to work (using twig 3) 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol ee803af521 commit permissions change on files from 755 to 644 2023-09-05 14:22:17 -04:00
towards-a-new-leftypol a67e85a55f Not enough boards on local dev to have alt overboards 2023-09-05 14:19:35 -04:00
towards-a-new-leftypol 1783ad98c3 fix matrix link on faq page 2023-08-30 14:07:32 -04:00
towards-a-new-leftypol d478752573 Fix annoying autofill behaviour for Safari
- Submitted by @johnsmy on github (PR 366)
- I redid his change without the whitespace changes
2023-08-20 16:24:29 -04:00
towards-a-new-leftypol ee26c83cf0 Get the board back to previous state 2023-08-12 23:20:18 -04:00
towards-a-new-leftypol aaa60c529a Change theme to bunker_like and fix up some of the css 2022-04-30 17:47:11 -04:00
towards-a-new-leftypol bd73766995 Update link to matrix on faq page 2021-09-27 07:29:02 -04:00
towards-a-new-leftypol 6b27802818 Update faq page 2021-09-27 07:25:39 -04:00
towards-a-new-leftypol fa517fbed2 Change sidebar headers to match yotsuba theme 2021-09-05 14:29:36 -04:00
towards-a-new-leftypol 5737427432 theme change to yotsuba 2021-09-05 18:20:06 +00:00
towards-a-new-leftypol 726decb27c
Merge pull request #321 from towards-a-new-leftypol/select_style3
Put style chooser into the options menu
2021-08-21 18:57:43 -04:00
towards-a-new-leftypol 50fec6e0e5
Merge pull request #299 from discomrade/fix-info-leak
Sanitize meta tags to avoid potential info leak
2021-08-21 18:56:28 -04:00
towards-a-new-leftypol 07a74923b2 undoes css change to yotsuba (frames.html) 2021-08-21 18:46:27 -04:00
Comatoast b37a52028d Changes the neccesary alterations to the front page 2021-08-21 18:46:16 -04:00
discomrade e0595f3d68 Fix 387ebe9c0c , extract limit to variable 2021-08-21 18:35:27 -04:00
discomrade 2c5c6a8533 Show ban appeal count on mod dashboard 2021-08-21 18:23:18 -04:00
discomrade 164a7e5515 Change public Tinyboard and vichan links 2021-07-21 21:58:39 -02:00
towards-a-new-leftypol 739bbff4ed retab main.js - whitespace change only 2021-07-19 20:14:18 -04:00
towards-a-new-leftypol eb81faadbd Put style chooser into the options menu, remove any style related stuff that gets added to the footer 2021-07-15 12:11:22 +00:00
nonmakina c8c0b04492 fixes quick reply 2021-07-11 16:00:39 +02:00
nonmakina 44d8d2d0d5 Refactor deferred js 2021-07-11 12:46:26 +02:00
nonmakina fe280cdc12
Merge branch 'config' into defer-javascript 2021-07-11 11:23:03 +02:00
nonmakina 79efd69baf
Merge pull request #301 from discomrade/ip-maxlength
Extend maxlength of ban IP to allow IPv6 subnets
2021-07-11 11:04:51 +02:00
discomrade 7e722aa940 Fix https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/202 2021-07-09 10:48:42 -02:00
discomrade dca55a1643 Allow select defering additional JS 2021-07-09 07:35:09 -02:00
nonmakina 253c4a8c9f Revert "Filename clickable to download"
This reverts commit f168ad162d.
2021-07-05 14:34:43 +02:00
discomrade c841183584 Extend maxlength of IP for IPv6 subnets 2021-07-04 08:43:38 -02:00
towards-a-new-leftypol a3b13aa12a
Merge pull request #287 from discomrade/homepage-upgrades
Homepage upgrades
2021-07-04 02:42:19 +00:00
towards-a-new-leftypol 73517b0ffc Put image under title, inside header (homepage) 2021-07-03 22:38:01 -04:00
towards-a-new-leftypol e52273d3a9 add a bit more space between top and logo 2021-07-03 21:33:27 -04:00
towards-a-new-leftypol c3c87e29e6 move logo to top, refactor inline css 2021-07-03 21:31:43 -04:00
towards-a-new-leftypol 6d53814a90
Merge branch 'config' into defer_javascript 2021-07-04 00:07:01 +00:00
discomrade f168ad162d Filename clickable to download 2021-07-03 23:56:12 +00:00
discomrade b4c5697bf6 Improve responsiveness of homepage, add description and logo 2021-06-30 05:29:29 -02:00
towards-a-new-leftypol ab8b4b9524 defer additional_javascript
- this required a fix to file-selector
2021-06-27 01:09:28 +00:00
towards-a-new-leftypol 296aca7d0e remove prints 2021-06-26 02:54:35 +00:00
towards-a-new-leftypol 1668cbca9b Fix overboard generation 2021-06-26 02:54:35 +00:00
towards-a-new-leftypol 6735125ffa Revert "Revert "Add SFW overboard theme""
This reverts commit 9acdacbb35.
2021-06-26 02:54:35 +00:00
discomrade 10e9e2c455 Place IP notes and ban form above post history 2021-06-23 21:49:51 +00:00
towards-a-new-leftypol 9acdacbb35 Revert "Add SFW overboard theme" 2021-06-20 17:06:40 +00:00
nonmakina 0c4460a8a4
Merge pull request #266 from discomrade/sfwoverboard
Add SFW overboard theme
2021-06-20 14:00:15 +02:00
discomrade d4b8be83aa Add margin to flag preview image 2021-06-16 02:25:20 -02:00
discomrade 2b6c69b1da Add alt overboard 2021-06-11 20:15:16 -02:00
discomrade a5b990846d Add validation, remove redundant validation 2021-06-10 08:07:56 -02:00
discomrade e36671eceb Update excluded board list 2021-06-10 07:16:14 -02:00
discomrade 0f02110b1c Define excluded boards as array to simplify code 2021-06-10 06:53:23 -02:00
discomrade 98f804cbf2 Change default overboard subtitles and thread count 2021-06-10 05:25:23 -02:00
discomrade f542f4bf1c Explicitly reference variable 2021-06-05 09:14:58 -02:00
discomrade 1c7e10cd40 Add exclude list formatting notes 2021-06-01 20:44:27 -02:00
discomrade 8491fd61a8 Allow arbritary overboard creation, make catalog compatible 2021-06-01 02:39:39 -02:00
discomrade eb652322a2 Revert "Add SFW overboard and its catalog option"
This reverts commit 24fcb96404.
2021-06-01 02:14:48 -02:00
discomrade c54a15e6d6 Create flag preview 2021-05-31 17:30:44 -02:00
discomrade 24fcb96404 Add SFW overboard and its catalog option 2021-05-28 06:27:10 -02:00
towards-a-new-leftypol 5e3af63003 Add links to sidebar to Faq and Rules pages 2021-05-15 02:32:56 -04:00
discomrade c9fc9e5ea3 Remove 'Global' from rules, minor change 2021-05-14 21:41:39 -02:00
discomrade c43b0df16a Add rules and Help/FAQ 2021-05-13 02:02:39 -02:00
discomrade 89b2a8af97 Add automatic and manual reloading of captchas 2021-05-05 15:17:34 -02:00
discomrade a1bdba3770 Add basic captcha 2021-05-05 10:29:06 -02:00
towards-a-new-leftypol 7d7f2cab2b catalog page - rewrite youtube url to be local 2021-04-02 19:39:42 -04:00
towards-a-new-leftypol 2f363081df Restore dark red theme to be the default 2021-04-02 14:18:55 -04:00
towards-a-new-leftypol 0c8108fdfe Set default theme to Jungle 2021-03-31 22:32:09 -04:00
towards-a-new-leftypol 60755e2396 Sum up stats that nonmakina added
- fixes the "totals" row in the table on news.html
2021-02-26 20:23:27 -05:00
nonmakina 3bf47e65fc remove rolling average 2021-02-21 19:57:37 -06:00
nonmakina 9d9ae86c55 remove rolling average 2021-02-21 19:56:42 -06:00
nonmakina 9137949dbf test rolling average' 2021-02-21 19:32:11 -06:00
nonmakina 474e215151 change to week 2021-02-21 19:04:36 -06:00
nonmakina 97f00c22dd change to week 2021-02-21 19:03:13 -06:00
nonmakina 2103c21b53 fix 2021-02-21 16:39:01 -06:00
nonmakina 8b57c70ea5 fix 2021-02-21 16:38:00 -06:00
nonmakina 7a99f5943e more counters 2021-02-21 16:36:09 -06:00
nonmakina 2576fc4ff1 Fix 2021-02-21 16:24:16 -06:00
nonmakina 607c4c60c0 Fix 2021-02-21 16:23:32 -06:00
nonmakina a4d1e58ad7 Adds more IP counters 2021-02-21 16:18:26 -06:00
Comatoast 372919e849 Merge remote-tracking branch 'upstream/config' into frontpage2 2021-02-07 11:46:56 -08:00
towards-a-new-leftypol 43a6a67844 Improve robustness when moving / merging threads
- previously this would choke on threads where the image file is
missing
2021-01-31 01:20:45 +00:00
towards-a-new-leftypol 048674e136
Merge pull request #200 from nonmakina/pph-and-uniques
Adds PPH and Unique IP for site and for each board.
2021-01-29 20:28:46 -05:00
Comatoast c67d914549 Merge remote-tracking branch 'upstream/config' into frontpage 2021-01-22 21:46:26 -08:00
nonmakina 9c4da9a13d local vars 2021-01-19 22:39:29 -06:00
nonmakina 3beb54ac2b h2 -> h1 2021-01-19 21:49:43 -06:00
nonmakina 4eab810a3b Fixes style. I18s table headers 2021-01-19 21:47:53 -06:00
nonmakina 02ed0c11a9 Changes count for sum 2021-01-19 21:18:58 -06:00
nonmakina 662e488943 syntax and html errors 2021-01-19 21:10:29 -06:00
nonmakina 36cf6f4174 bugs 2021-01-19 20:49:15 -06:00
nonmakina ed2fd963e5 Syntax errors 2021-01-19 20:38:18 -06:00
nonmakina c438ff9ab0 Per board pph 2021-01-19 20:27:00 -06:00
nonmakina bdf1fcf27b Fixes bug and updates PPH on each post 2021-01-19 18:40:53 -06:00
Comatoast fae7ccb40e Front Page theme fix matching default of board 2021-01-19 15:37:57 -08:00
dedushka1 8dda13f206
Merge pull request #178 from nonmakina/bumplockIndicator
Implements fixes and changes to be able to view the bumplock status of a thread
2021-01-19 14:51:08 -05:00
dedushka1 e46deb5da5
Merge pull request #185 from nonmakina/overboardCountFix
Adds function to count posts and images of a thread
2021-01-19 14:48:59 -05:00
Dedushka bd87661a69
Add PPH and unique posters stats to home page 2021-01-18 23:26:53 -05:00
nonmakina 056e9bf492
Merge pull request #188 from dedushka1/config
Allow posting from catalog.
2021-01-18 17:56:48 -06:00