Commit graph

99 commits

Author SHA1 Message Date
Sam
2f29ba7d58 Merge tag 'v2.2.5' into release/2.2.5-develop 2026-05-31 16:06:52 +01:00
Sam
e0daffa8d7 release: 2.2.5 2026-05-31 13:28:58 +01:00
Sam
3a5a4aecc4 Merge remote-tracking branch 'origin/develop' into release/2.2.4 2026-01-17 21:57:34 +00:00
Sam
a1ee7ef467 release: 2.2.4 2025-08-10 11:17:20 +01:00
Sam
16ddc0aea5 Merge remote-tracking branch 'origin/v2' into develop 2025-07-06 09:46:26 +01:00
tadhgboyle
3922fcc3bf
Remove panel navigation cache checks (#3684)
* Remove panel navigation cache checks

* cookies
2025-06-14 09:51:11 -07:00
tadhgboyle
fba4cb051c
Convert punishments to Notification system (#3660) 2025-06-07 11:48:08 -07:00
tadhgboyle
022bfb0e43
Filter out deleted posts from forum post member list (#3679) 2025-05-26 11:06:51 -07:00
Sam
c6aa88a8ad
Release 2.2.3 (#3675)
* Fix 500 on guests visiting profile pages (#3665)

* release: 2.2.3

---------

Co-authored-by: tadhgboyle <tadhgsmboyle@gmail.com>
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-05-22 19:45:24 +01:00
Sam
7a1035d8e2
Release 2.2.2 (#3654)
* Fixed report event for report endpoint (#3648)

* Add group sync log to debug link (#3650)

* Fix being able to react to your own posts (#3653)

* Fix table html purification (#3657)

* Fix table html purification

* full width create topic page

* Hide profile if blocked, update mentions list, update messaging list (#3659)

* Hide profile if blocked, update mentions list, update messaging list

* lint

* Make sure error reporting is disabled by default (#3649)

* Make sure error reporting is disabled by default

* Fix styleci

* Update index.php

---------

Co-authored-by: partydragen <admin@partydragen.com>
Co-authored-by: Partydragen <adrian_kili@outlook.com>

* release: 2.2.2

---------

Co-authored-by: Partydragen <adrian_kili@outlook.com>
Co-authored-by: tadhgboyle <tadhgsmboyle@gmail.com>
Co-authored-by: Supercrafter100 <58982133+supercrafter100@users.noreply.github.com>
Co-authored-by: partydragen <admin@partydragen.com>
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-05-21 19:46:01 +01:00
tadhgboyle
07d1e05229
Create and implement Cache#fetch (#3662)
* Create and implement `Cache#fetch`

* convert more

* fix

* wip

* wip

* Apply fixes from StyleCI (#3663)

Co-authored-by: StyleCI Bot <bot@styleci.io>

* wip, more conversions

* clear widget cache on setting update

* fix

* convert

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2025-05-20 18:37:24 -07:00
Partydragen
370430256f
Remove deprecated event system (#3631)
* Remove old event system & Convert renderPost event

* Remove old event system

* Misc

* Convert Custom Pages to use new event system

* Change RenderPost to RenderContent

* Convert profile posts and messaging

* All events converted

* Fixes

* Fixes

* Add tag support in Profile Posts & Messaging

* Execute rendercreate for profile post reply

* Update webhooks

* Remove return function

* Remove array response

* Remove more array response

* Remove fallback webhooks

* Test phpstan

* Fix phpdoc

* Remove name() & description()
2025-05-02 10:19:52 -07:00
tadhgboyle
d983be65ec
Convert Mentions to Notification system (#3628)
* Convert reports to Notification system

* fix unused term check for LanguageKey class

* simplify language#get

* remove n+1

* fix for multiple

* Convert Forum topic replies with Notifications

* review amendments

* fixes

* Apply fixes from StyleCI (#3627)

Co-authored-by: StyleCI Bot <bot@styleci.io>

* add back existing_alerts

* remove unneeded exception

* add migrations

* fix

* lint

* Convert Mentions to Notification system

* fixes

* wip

* wip - code comments + fix mention parsing for custom page editing

* rename variable

* cleanup MentionsHook

* cleanup

* remove unused term

* Apply fixes from StyleCI (#3634)

Co-authored-by: StyleCI Bot <bot@styleci.io>

* don't notify blocked users, but still tag them

* undo changes to DB class

* trailing comma

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2025-04-29 12:51:01 -07:00
tadhgboyle
85ac6db474
Convert Forum topic replies to Notification system (#3622) 2025-04-29 07:43:09 -07:00
Sam
92d7e28c83 release: 2.2.1 2025-04-21 12:13:50 +01:00
Sam
48d1c697fc
fix: general template system/reactions context fixes (#3595)
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-03-31 19:25:00 +01:00
Sam
db647d9b4e
Add Smarty and Twig template engines (#3452)
* Add Smarty and Twig template engines

* Update composer.json

* Convert Widgets class to template engine and PHPStan fixes

* Fix widget initialisation

* Fix panel widget initialisation

* chore: remove debug return

* feat: convert 403/404 pages to new template system and general tidy

* chore: style fixes

* feat: update latest pages to new template engine

* feat: template base should not be nullable in onPageLoad

* feat: set template base directory upon initialisation and allow custom smarty security directories

* chore: fix style
2025-02-24 18:44:29 +00:00
Sam
9242bd180b
Release 2.1.3 -> develop (#3576)
* Merge release 2.1.3 into develop

* chore: style fixes
2025-01-12 13:32:49 +01:00
Partydragen
5715774e73
Check if members module is enabled (#3532) 2024-07-29 17:14:39 +01:00
Sam
e050f3e3c9
Prepare 2.1.2 release (#3441)
* Fix AuthMe enabled value (#3349)

* Add all missing languages to the Members module (#3350)

* Translated using translate.namelessmc.com

Co-authored-by: Knapp Bálint <favorit5503@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/hu/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/hu/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum

* Translated using translate.namelessmc.com

Co-authored-by: Dominik Roman <dominikslk9@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/sk/
Translation: NamelessMC/Website - Core

* Translated using translate.namelessmc.com

Co-authored-by: Wgis <bywgis@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/ru/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-discord-integration/ru/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/ru/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Discord Integration
Translation: NamelessMC/Website - Forum

* Make sure Minecraft Integration is enabled (#3356)

* Add Russian translation (#3352)

Contributed by @Wgis in a github comment: https://github.com/NamelessMC/Nameless/pull/3350#issuecomment-1532655703

Co-authored-by: Ilya Finogenov <20740613+wgis@users.noreply.github.com>

* Translated using translate.namelessmc.com

Co-authored-by: NamelessMC Translations <robin+weblate@rkslot.nl>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/nl/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/nl/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Members module

* Translated using translate.namelessmc.com

Co-authored-by: Dominik Roman <dominikslk9@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/sk/
Translation: NamelessMC/Website - Members module

* Translated using translate.namelessmc.com

Co-authored-by: enno123 <admin@enno123.de>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/de/
Translation: NamelessMC/Website - Members module

* Translated using translate.namelessmc.com

Co-authored-by: Marcos <marckos03br@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/es/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/es/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Members module

* Translated using translate.namelessmc.com

Co-authored-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/cs/
Translation: NamelessMC/Website - Members module

* Include .htaccess file in release zip (#3362)

* Fix missing cache settings (#3361)

* Fix user group isssue (#3365)

Closes https://github.com/NamelessMC/Nameless/issues/3363

* Fix forum title/description encoding on edit (#3359)

* Remove unable to update groups catch (#3360)

* Translated using translate.namelessmc.com

Co-authored-by: David Morales <davidmolv16@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/es_419/
Translation: NamelessMC/Website - Members module

* Remove placeholder from singular message (#3369)

* Fix not being able to see Members page in Navigation settings (#3372)

* Translated using translate.namelessmc.com

Co-authored-by: enno123 <admin@enno123.de>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translation: NamelessMC/Website - Core

* Translated using translate.namelessmc.com

Co-authored-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/cs/
Translation: NamelessMC/Website - Core

* Translated using translate.namelessmc.com

Co-authored-by: Edouard DUCHESNES <edouard@duchesnes.fr>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/fr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-discord-integration/fr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/fr/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Discord Integration
Translation: NamelessMC/Website - Members module

* Translated using translate.namelessmc.com

Co-authored-by: Marcos <marckos03br@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/es/
Translation: NamelessMC/Website - Core

* Translated using translate.namelessmc.com

Co-authored-by: Mesutcan Yavuz <mesutcan.yavuz@hotmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/cookie-consent/tr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/tr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-discord-integration/tr/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/tr/
Translation: NamelessMC/Website - Cookie Consent
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Discord Integration
Translation: NamelessMC/Website - Forum

* Translated using translate.namelessmc.com

Co-authored-by: Mesutcan Yavuz <mesutcan.yavuz@hotmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/tr/
Translation: NamelessMC/Website - Core

* Translated using translate.namelessmc.com

Co-authored-by: Maiu <maiuxd77@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/nb_NO/
Translation: NamelessMC/Website - Core

* Translated using translate.namelessmc.com

Co-authored-by: Dominik Roman <dominikslk9@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/sk/
Translation: NamelessMC/Website - Core

* Translated using translate.namelessmc.com

Co-authored-by: andreas phillip søndergaard andersen <andreas.andersen1410@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/da/
Translation: NamelessMC/Website - Forum

* Fix multi query (#3383)

* Add id to default server

* Fix multiquery

* Fix icon not being properly shown (#3377)

* Fix ghost player on status page (#3351)

Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>

* Translated using translate.namelessmc.com

Co-authored-by: andreas phillip søndergaard andersen <andreas.andersen1410@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/da/
Translation: NamelessMC/Website - Forum

* Translated using translate.namelessmc.com

Co-authored-by: NamelessMC Translations <robin+weblate@rkslot.nl>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/nl/
Translation: NamelessMC/Website - Core

* Translated using translate.namelessmc.com

Co-authored-by: Petr Kubinec <petrkubinec9@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/en_US/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/en_US/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/en_US/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum
Translation: NamelessMC/Website - Members module

* Translated using translate.namelessmc.com

Co-authored-by: untuned <untuned@teamhydra.dev>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/en_US/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-members-module/en_US/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Members module

* Translated using translate.namelessmc.com

Co-authored-by: Mert <mert2018cinar@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/tr/
Translation: NamelessMC/Website - Core

* Translated using translate.namelessmc.com

Co-authored-by: Justman10000 <justmegaliga10000@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translation: NamelessMC/Website - Core

* Call `compileQueries` only when needed (#3386)

* Translated using translate.namelessmc.com

Co-authored-by: Justman10000 <justmegaliga10000@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translation: NamelessMC/Website - Core

* Remove Discord discriminator requirement (#3374)

* Fix outdated event

* Fix oauth linking for forced integrations (#3395)

* Require module autoload file before module init (#3397)

* Require module autoload file before module init

* Change module loading to require once

* Prepare 1.1.1 release (#3399)

* Small misc improvements (#3389)

* Support custom migration tables

* Allow specifying custom migrations directory

* PHP 7.4 fix

* Consistent parameters and add rollback function

* Update Phinx and fix migrations

* Tidy strtolower

* Phinx feature flags

* Make makeWhere function in DB class public

* Add new buildAssetPath function to URL class

---------

Co-authored-by: Robin Slot <robin+github@rkslot.nl>

* Translated using translate.namelessmc.com

Co-authored-by: Justman10000 <justmegaliga10000@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translation: NamelessMC/Website - Core

* Rework user group cache issue (#3398)

* Add `PHP_SAPI` checks on scripts (#3403)

* Readd deleted term + fix discord oauth link success message (#3406)

* Revert deleted language term

Removed in a0e9ffb119

@tadhgboyle

* Add success message for linking discord

* Translated using translate.namelessmc.com

Co-authored-by: enno123 <admin@enno123.de>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/de/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/de/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum

* Fix typo in en_US.json (#3412)

* Fix auto verify oauth email (#3413)

* Translated using translate.namelessmc.com

Co-authored-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/cs/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/cs/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum

* Translated using translate.namelessmc.com

Co-authored-by: Andiv <div2005.kk@gmail.com>
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/ru/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/nameless/uk/
Translate-URL: https://translate.namelessmc.com/projects/namelessmc/website-forum/ru/
Translation: NamelessMC/Website - Core
Translation: NamelessMC/Website - Forum

* Rewrite release script to fix checksums in upgrade package (#3414)

* Fix forum index showing topics without view other topics permission

* Ignore group sync request instead of returning error (#3433)

* Ignore group sync request instead of returning error

* Fix condition

* Remove return

* Limit logs & Support group sync from modules (#3426)

* Limit logs

* Support group sync from modules

* Ignore adding group if its invalid (#3436)

* Ignore adding group if its invalid (#3436)

* Fix phpdoc build, pin version (#3438)

* Fix single/double quote not working within member list username CSS (#3427)

* Prepare 2.1.2 release

---------

Co-authored-by: DominikSLK <74055080+DominikSLK@users.noreply.github.com>
Co-authored-by: PadowYT2 <me@padow.ru>
Co-authored-by: Knapp Bálint <favorit5503@gmail.com>
Co-authored-by: Dominik Roman <dominikslk9@gmail.com>
Co-authored-by: Wgis <bywgis@gmail.com>
Co-authored-by: Partydragen <adrian_kili@outlook.com>
Co-authored-by: Robin <robin+git@rkslot.nl>
Co-authored-by: Ilya Finogenov <20740613+wgis@users.noreply.github.com>
Co-authored-by: NamelessMC Translations <robin+weblate@rkslot.nl>
Co-authored-by: enno123 <admin@enno123.de>
Co-authored-by: Marcos <marckos03br@gmail.com>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: David Morales <davidmolv16@gmail.com>
Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
Co-authored-by: Edouard DUCHESNES <edouard@duchesnes.fr>
Co-authored-by: Mesutcan Yavuz <mesutcan.yavuz@hotmail.com>
Co-authored-by: Maiu <maiuxd77@gmail.com>
Co-authored-by: andreas phillip søndergaard andersen <andreas.andersen1410@gmail.com>
Co-authored-by: Supercrafter100 <58982133+supercrafter100@users.noreply.github.com>
Co-authored-by: Petr Kubinec <petrkubinec9@gmail.com>
Co-authored-by: untuned <untuned@teamhydra.dev>
Co-authored-by: Mert <mert2018cinar@gmail.com>
Co-authored-by: Justman10000 <justmegaliga10000@gmail.com>
Co-authored-by: Robin Slot <robin+github@rkslot.nl>
Co-authored-by: Andiv <div2005.kk@gmail.com>
2023-09-28 16:49:56 +01:00
Tadhg Boyle
b13c29e5e4
Reactions revamp & profile widgets (#3272)
* Initial work on reactions revamp and profile widgets

* Remove unneeded changes

* Remove unneeded change

* fix style

* Render emojis in reaction list StaffCP

* wip minecraft account profile widget, sticky widgets on profile page

* Add server name and IP to last seen

* remove

* rename to reaction score to match member list

* align reactions table contents center

* fix

* wip - nicer abstraction, widgets never query db, skin 3d viewer (undecided)

* wip - make reaction modals ajax, copy new reaction bar to profile posts

* wip reaction modals

* wip proper sorting

* wip modals

* wip get reaction submission working on profile wall posts

* add back helpful and creative default reactions

* reduce query amount on view topic

* remove debug statement

* wip

* wip

* simplify ProfileWidget pages

* Revert forum dropdown

* fix css syntax

* fix emoji title and alt being strange

* add back order input

* sort widgets by order in list

* fix settings link always showing

* phpdoc

* add widget name to exception

* insert default widget data if not found

* missing end if

* properly cache forum news per-group

* fix

* fix cache key, news permission check

* fix styling

* wip

* respect reaction ordering

* wip

* wip

* support custom reaction scores, update member list to properly calculate

* don't hardcode words

* wip

* allow multiple reactions

* redirect to post

* code style

* phpstan

* wip

* remove hardcoded terms + fix copy

* use npm for skinview3d

* create ReactionContext and refactor

* fix cache

* docblocks

* fix spelling

* pr amendments
2023-06-21 18:19:46 +01:00
Sam
1cbe258978
Prepare 2.1.1 release (#3399) 2023-06-18 11:26:25 +01:00
Sam
7e8c67e0bf
Prepare 2.1.0 release (#3337) 2023-04-30 21:23:08 +01:00
Sam
fbe3f3d47c
Deprecate codeTransform and decode methods within ContentHook (#3250) 2023-04-14 21:28:17 +01:00
samerton
459d4821e2 Fix nofollow noopener on external links 2023-04-01 21:17:20 +01:00
Tadhg Boyle
8d09a86cb8
Misc fixes + improvements (#3270) 2023-03-23 20:01:23 -07:00
Tadhg Boyle
9cecbe2301
Create Members module with member list page (#3106) 2023-03-07 08:26:53 -08:00
Tadhg Boyle
e2130be87a
Event system DX improvements (#3226)
Co-authored-by: Partydragen <admin@partydragen.com>
Co-authored-by: Robin Slot <robin+github@rkslot.nl>
2023-03-01 11:35:10 -08:00
Sam
a7bf67ccaa
Release 2.0.3 (#3239)
* Release 2.0.3

* Create links to PRs

* Add date

---------

Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
2023-01-28 22:05:59 +00:00
Tadhg Boyle
b30f00b7a9
Ignore future dates in dashboard overview graph data (#3197) 2023-01-18 10:45:30 -08:00
samerton
8e7e2b3399 StaffCP performance improvements 2022-12-12 20:49:53 +00:00
samerton
8d4178bb93 Bump to 2.0.2 2022-08-13 12:27:22 +01:00
samerton
67a956b373 Bump to 2.0.1 2022-08-06 10:46:39 +01:00
samerton
010c60383b Bump to 2.0.0 2022-08-05 23:15:04 +01:00
Tadhg Boyle
b8dc0c7213 Remove "advanced" event listeners, not used + messy 2022-07-10 22:34:28 -06:00
Tadhg Boyle
2414fe462a Use email placeholder methods in Core, use composer autoloader for widgets and hooks 2022-06-22 22:47:39 -06:00
samerton
f68c32e70c Prepare pre-release 13 2022-06-02 22:45:23 +01:00
Robin
67ee4bd17b Remove more queries usage 2022-06-01 11:09:17 +02:00
Robin
c2a1d934ff Deprecate redundant method in queries class 2022-05-28 14:10:01 +02:00
PadowYT2
f01f8b3dbe Resolve conversation & from #2757 2022-05-27 11:54:24 +03:00
Supercrafter100
1a22c7a353
Event additions (#2756) 2022-05-19 09:13:09 -06:00
Tadhg Boyle
eb8841149d Remove unneeded = in where clauses 2022-05-01 23:22:19 -07:00
Partydragen
dbbbf5604e
Add ability to clone group (#2698)
* Add ability to clone group

* Fix phpstan

* Fix requested changes
2022-04-23 21:05:59 +01:00
Tadhg Boyle
d3ce574a85
Remove a lot of queries (StaffCP < 20, Frontend 10-15 less) (#2684)
Co-authored-by: samerton <samerton@users.noreply.github.com>
2022-04-23 20:02:00 +01:00
Tadhg Boyle
2c21149a1e
Use i18n for translations (#2658)
* Dependency updates

* Start i18n conversion

* Switch to ellipsis character

* Add Dutch language json

* Remove Dutch PHP language files + fix variables

* Further variable fixes

* WIP i18n Language class conversion

* Convert Cookie Consent module to new language format

* Further progress including timeago translations

* Misc

* Replace {x}

* Replace more {x} usage

* {{time}}

this took way too long

* replace last {x}

* Remove comments

So searching for {x} produces relevant results

* forgot to save

* move to onPageLoad

* Accept both string and int

* types in doc

* Remove unused (broken?) function

* Don't convert to string first

* Last arg doesn't seem to be used anywhere

* Time `{x}` replacements

* Email `{x}` replacements

* misc `{x}` replacements

* misc `{x}` replacements

* misc `{x}` replacements

* misc `{x}` replacements

* misc `{x}` replacements

* misc `{x}` replacements

* misc `{x}` replacements

* misc `{x}` replacements

* misc `{x}` replacements

* remove comments (makes searching for "{x}" nicer)

* misc `{x}` replacements

* JS `{x}` replacements

* Cleanup language initialization

* Change language constant + add pluralForm support

* Misc language update things

* Add script to find unused terms

* Check all quote types

* Remove most english translations from non-english languages

* Also match with more args

* Missed some apparently

* Missed some (more) apparently

* Misc work

* Add script to convert *all* language files to json

* Fix language codes

* Remove a lot of unused terms

* Remove a lot more unused terms

* Convert everything to JSON, delete old files, get installer working with new system

* Fix general configuration language dropdown + email messages

* Fix page load time, fix language term `set` method

* Fix discord integration command

* Misc

* Misc

* Uncomment RTL definition

* Misc

* Convert links

* Convert links

* Convert links

* Convert links

* Misc work (bolding, fixes, etc)

* Style fix

* Fix variable

* Fix #2668

* Fix old page load timers

* Fix installer group sync injector error

* Convert integration language terms

* Fix more integration language things

* Re-add upgrade script language things

* Resolve PR comments

* Remove unnecessary date()

* Resolve some PR issues

* Fix endpoint

* Style

* Fix Semantic -> Fomantic

* Fix Semantic -> Fomantic

* Return locale short code, not language id/name

Only the short code is interesting to the API, return short code in user info endpoint just like in the website info endpoint.

Also renamed to locale because it's language + region

* Revert "warn people to not translate old language files"

This reverts commit 690b77afff.

* Fix query when there are no filters

* Update 200-pr12.php

* Update footer.php

* insert time into string using placeholder

* Fix getDisplayname case

* Clean username

* PR suggestions

* Include newly created language in converted languages (migration)

* PR suggestions

* PR suggestions

* Update init.php

* Fix default language

Co-authored-by: samerton <samerton@users.noreply.github.com>
Co-authored-by: Robin <robinslot@hotmail.nl>
Co-authored-by: Robin <robin+git@rkslot.nl>
Co-authored-by: Partydragen <adrian_kili@outlook.com>
2022-04-23 14:27:10 +01:00
Tadhg Boyle
374cc22384 Remove redundant queries during widget init, fix Discord widget when no guild ID is set 2022-04-13 17:05:42 -07:00
Tadhg Boyle
32e92e3ab7 Fix @2677 2022-04-11 23:15:38 -07:00
Tadhg Boyle
946b32fbbd
Fix renderEmoji order in ContentHook 2022-04-06 14:33:29 -07:00
Sam
9cc6563f32
Render post event (#2662)
* Add render post event

Includes colour coded and interactive user mentions, fixed html code blocks, pagination fixes

* Add default value to createTinyEditor content parameter

* Template cleanup

* Remove debug echo
2022-04-02 17:44:13 +01:00
samerton
9f31fdbac2 Fix deleted posts/topics including in totals
Closes #2181
2022-04-02 14:13:02 +01:00