Commit Graph
82 Commits
Author SHA1 Message Date
Spine e3ba156a69 abstract away the global $DB 2023-03-08 18:29:06 +01:00
Spine df89658205 more tests for Text class 2023-03-08 18:29:06 +01:00
sheepish da78c55a14 fix bbcode tex rendering 2023-03-08 18:29:05 +01:00
Spine f639c36c25 torrentid links link to torrent 2023-02-03 11:13:55 +01:00
Spine 19a5ddaf5f remove usage of Torrents::* and Artists::* methods 2023-02-03 11:13:55 +01:00
Spine 6a2380f2a0 a torrent.php url in bbcode should resolve the torrentid if present 2023-02-03 11:13:54 +01:00
Spine e11233d3a3 ImageProxy constructed with a User 2023-02-03 11:13:53 +01:00
Spine 357808a2f1 be lazy in setting the user context for Text::to_html() 2023-02-03 11:13:53 +01:00
Spine 596c47e50f fix rendering of bbcode that begins with "[*] ..." 2023-02-03 11:13:52 +01:00
Spine a23d2792cb render deleted non-Music [pl] links correctly 2023-02-03 11:13:52 +01:00
Spine 70f9a739b9 better handling of bogus [*] markup 2023-02-03 11:13:52 +01:00
Spine 122509d4d6 unfuck artist bbcode 2023-02-03 11:13:52 +01:00
Spine 5d8b31dbb1 avoid crashing on bad markup 2023-02-03 11:13:52 +01:00
Spine 41474ebbbc deal with nonsense ids 2023-02-03 11:13:52 +01:00
Spine b0e0525c1f don't crash on bbcode garbage 2023-02-03 11:13:52 +01:00
Spine 531117464c remove warnings and refactor Text::resolve_url() 2023-02-03 11:13:51 +01:00
Spine 29bda2ff64 Move forum post functionality into ForumPost and Manager/ForumPost classes 2023-02-03 11:13:51 +01:00
Spine df1398596b don't raise a warning if the torrent id points to nothing 2023-02-03 11:13:51 +01:00
Spine 9580fcdf19 break out thread implementation into ForumThread class 2023-02-03 11:13:51 +01:00
Spine e8dd6df4b7 remove warning on empty list elements (e.g. [#][#]foo) 2023-02-03 11:13:51 +01:00
Spine dc9514bac8 replace strpos() with str_contains()/str_begins_with()/str_ends_with() 2023-02-03 11:13:50 +01:00
Spine 6b0984a35c revamp user profile and edit templates 2023-02-03 11:13:49 +01:00
Spine ce73223e90 the shenanigans to render forums.php?action=viewthread&postid=1 (no thread id) 2023-02-03 11:13:48 +01:00
Spine bc902fa18d trace problem in Text::to_html() 2023-02-03 11:13:48 +01:00
Spine 870e18785d Complete overhaul of the configuration architecture 2023-02-03 11:13:47 +01:00
Spine 9f3125c832 simplify the bootstrapping of a functional Gazelle context 2023-02-03 11:13:47 +01:00
Spine 64c9574e3c use thread and post url() methods 2023-02-03 11:13:47 +01:00
itismadness 4a0329cd24 Reset ToC Headlines per full_format 2023-02-03 11:13:46 +01:00
Spine 61eb0fa60f appify image proxy 2023-02-03 11:13:45 +01:00
Spine c0427796b8 add url() and link() methods to BaseObject 2023-02-03 11:13:44 +01:00
Spine 1af48fbeb6 first wave of $LoggedUser removal from classes/ 2023-02-03 11:13:44 +01:00
itismadness 989e8a0253 Fix phpstan errors in classes 2023-02-03 11:13:44 +01:00
Spine cad5488e9e use 7.4 arrow functions 2023-02-03 11:13:43 +01:00
Spine f64ba97fb9 prepare more for PHP 8.0 2023-02-03 11:13:42 +01:00
Spine 9699c37525 fix [torrent] rendering 2023-02-03 11:13:41 +01:00
Spine 862a1298b6 hmm is ok? :/ 2023-02-03 11:13:40 +01:00
Spine e411c5344e add named captures to configuration regexps 2023-02-03 11:13:40 +01:00
Spine 2f4705c64f remove useless SITE_URL and allow relative (e.g. [url=wiki.php]) urls in bbcode 2023-02-03 11:13:40 +01:00
Spine 82f12ec4b4 nuke old Collages class 2023-02-03 11:13:39 +01:00
Spine eb078fa088 remove G class (at the price of a few globals) 2023-02-03 11:13:39 +01:00
Spine 535dc1fecd PADLOCK glyph as a define() 2021-03-03 09:44:23 +01:00
Spine b176ebdd3b Replace Forums::get_forums() and other methods 2021-03-02 08:35:18 +00:00
itismadness 888815d0bb add [pad] bbcode tag 2021-02-07 12:07:28 +00:00
Spine 96e0144088 move undisplay_str() to the only class it's used in 2021-01-29 18:06:44 +00:00
Spine 12025e6050 User cite fix 2021-01-08 18:42:14 +00:00
Spine 01943dea9c fold sections/torrents/functions.php into classes/util.php 2021-01-04 17:49:08 +00:00
Spine 5cca3bb058 move Debug class to app/ 2020-12-21 12:41:02 +01:00
Spine 5cd9f8dd9e Make @user quoting work correctly 2020-12-11 18:05:11 +00:00
itismadness 30cb624901 consolidate (NON)SSL_SITE_URL to just SITE_URL 2020-11-04 19:34:05 +00:00
itismadness 4cc7b77d53 unify STATIC_SERVER usage across codebase 2020-10-20 01:57:51 +00:00