Commit graph

157 commits

Author SHA1 Message Date
alistair3149 af5565f490
feat: implement collapsible sections 2021-03-02 17:16:24 -05:00
alistair3149 b35c92d67a
refactor: remove Mustache parameters that are in 1.35 core 2021-02-26 16:34:28 -05:00
alistair3149 c795578dad
feat: merge namespace and variant links into more menu 2021-02-26 16:21:11 -05:00
H. C. Kruse 407d367e37 feat: add drawer subsearch (#264)
* bug: Fix display of theme toggle button if set to auto

* feat: Add subsearch script to drawer

An input in the drawer allows to search portal headings and links for matching text
- Hides all portals / links based on the search value

Feature can be enabled by setting `$wgCitizenEnableDrawerSubSearch = true;` in LocalSettings.

* bug: Fix subsearch
2021-02-03 15:01:50 -05:00
Hannes 97850860b7
fix: Fatal error 2021-01-28 21:09:52 +01:00
Hannes cdb05ec7fd
refactor: Move footer and page links/tools 2021-01-28 20:35:31 +01:00
Hannes c1086c9295
refactor: Lint code 2021-01-28 12:27:55 +01:00
Hannes 75965bec27
refactor: Lint code 2021-01-28 12:21:58 +01:00
Hannes 32c8dc01d7
refactor: Split SkinCitizen into partials 2021-01-28 12:19:50 +01:00
H. C. Kruse ea3c2daa4c
feat: move some toolbox links into the drawer (#241)
* feat: Move some toolbox links into the drawer

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-27 16:53:01 -05:00
alistair3149 e142800957
feat: move toolbox to page more menu 2021-01-27 14:52:49 -05:00
H. C. Kruse da9cfd8dcf
fix: Removing User Page if user has no groups 2021-01-26 21:55:46 +01:00
alistair3149 f995756747
feat: add user groups to personal menu (#233)
* feat: Add user groups to personal menu

* feat: tweak user group styles

Co-authored-by: Hannes <hannes@octofox.de>
2021-01-21 19:16:21 -05:00
alistair3149 f65bf157bd
feat: move personal menu to header (#231)
* fix: fix header background bleeding in VE

* feat: move personal menu out of drawer to header

* feat: update personal menu styles in smaller breakpoints

* fix: fix typo in qqq documentation

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* feat: add title text to personal menu button

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-19 15:56:42 -05:00
alistair3149 2c93c68cb2
feat: add support for different logo configurations and variants (#229)
* feat: add support for different logo configurations and variants

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-19 11:46:17 -05:00
alistair3149 4beb15e43d
feat: update layout in different breakpoints (#227)
* feat: update layout in different breakpoints

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* feat: remove negative margin for namespace and catlinks

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-18 15:18:39 -05:00
alistair3149 b8e6d0d5d1
feat: use wordmark for footer and aside 2021-01-13 15:23:44 -05:00
Hannes 36d6885b34
refactor: use this over self 2021-01-13 10:23:10 +01:00
github-actions 5231c3444e ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-01-13 08:39:35 +00:00
Hannes 9fb094a3c0
refactor: add theme class through php 2021-01-13 09:38:26 +01:00
alistair3149 9d3df250de
refactor: merge CSS variables in core styles 2021-01-12 14:31:35 -05:00
H. C. Kruse dde77d19dc
fix: fix incorrect files from rebased PR (#203)
* refactor: Fix switching theme

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* refactor: Fix bad rebase

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-11 20:12:14 -05:00
github-actions 70b74107de ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-01-11 18:47:47 +00:00
alistair3149 e9d9015d63
docs: add missing parameter 2021-01-11 13:47:21 -05:00
alistair3149 83bac9e4f6
refactor: separate theme toggle styles from core module 2021-01-11 13:31:49 -05:00
alistair3149 22980f9302
style: rename theme switcher RL module 2021-01-11 13:12:49 -05:00
github-actions 90e1826134 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-01-11 17:17:37 +00:00
H. C. Kruse e30e6ce52c
feat: implement theme toggle (#201) 2021-01-11 12:13:59 -05:00
alistair3149 88ecd756e2
refactor: make theme handler more versatile 2021-01-10 15:40:25 -05:00
github-actions 002240b384 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-01-09 22:15:47 +00:00
Hannes 7a8a60a853
test: Fix CI 2021-01-09 23:07:05 +01:00
Hannes dde580e2de
Merge remote-tracking branch 'upstream/master' into feature/darkmode-switch 2021-01-09 23:03:23 +01:00
Hannes 028169ea42
feature: Make color scheme configurable 2021-01-09 22:58:43 +01:00
alistair3149 2110aa8d55
Add search loading indicator 2020-10-16 15:23:15 -04:00
github-actions c04d4b102e Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 f816fdb830 Remove unused config variable 2020-08-12 12:59:57 -04:00
alistair3149 a413f5bd21 Update comment format in SkinCitizen 2020-08-12 12:59:57 -04:00
alistair3149 58789b9034 Add null check for last modified message 2020-08-12 12:59:57 -04:00
github-actions be0ada233c Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 a96925b031 Use SkinMustache and merge CitizenTemplate into SkinCitizen 2020-08-12 12:59:57 -04:00
alistair3149 91aaec57a1 Migrate some Mustache parameter to SkinCitizen 2020-08-12 12:59:57 -04:00
alistair3149 0cc5b9a9e8 Replace addModule with getDefaultModules 2020-08-12 12:59:56 -04:00
github-actions 1fa405871c Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-06-17 02:56:40 +00:00
alistair3149 8263f86df1
Add license header to PHP files 2020-06-16 22:56:19 -04:00
alistair3149 3d497156a0 Add documentation and license header 2020-06-15 22:52:30 -04:00
alistair3149 3736489118 Load lazyload modules with skin modules if needed 2020-06-15 22:41:56 -04:00
github-actions 105bcd52ed Github CI lint - phpcbf 2020-06-16 02:33:05 +00:00
alistair3149 32a0af35d4
Separate ToC from core module 2020-06-15 22:32:55 -04:00
alistair3149 c009b8726c
Simplified search bar
The last one didn't stage all the files
2020-06-08 19:12:03 -04:00
alistair3149 4ad5056fc4
Add config to enable or disable rich search suggestions 2020-06-07 17:16:45 -04:00
alistair3149 a7e364aa72
Cleaned up search modules 2020-06-07 15:54:42 -04:00
alistair3149 4ab77674e4
Reorganized file structure for a few ResourceLoader modules 2020-06-07 15:02:52 -04:00
alistair3149 3aa075df94
Added new ResourceLoader module for fonts 2020-06-07 02:17:07 -04:00
alistair3149 37732ea6a9
Partial Mustache refactor (#113)
Refactor some components into Mustache. With the footer refactor addressed in #75, it should solve most of the incompatibility issues caused by previous hacks used to generate the footer
2020-06-02 02:23:11 -04:00
alistair3149 e1db357496
Re-enable watch module since it provides better UX 2020-02-15 22:31:58 -05:00
alistair3149 71876c5f9e
Dequeued watch module since it is not needed 2020-02-15 21:55:11 -05:00
alistair3149 1b4daf957c
Reverted changes 2020-02-15 21:27:42 -05:00
alistair3149 a2608fc40b
Use defaultmodule to load skin styles instead 2020-02-15 21:26:07 -05:00
alistair3149 74f3647af0
Attempt to rearrange resourceloader module 2020-02-15 20:57:43 -05:00
alistair3149 cc58502424
Attempt to rearrange resourceloader module 2020-02-15 20:54:39 -05:00
alistair3149 7a922720ba
Attempt to rearrange resourceloader module 2020-02-15 20:49:32 -05:00
alistair3149 c8fa98b2e4
Dequeue icons styles from critical render path 2020-02-15 20:40:47 -05:00
alistair3149 42286cfc95
Attempt to fix styles not loading properly 2020-02-15 20:38:11 -05:00
alistair3149 5fd977ea6c
Attempt to fix styles not loading properly 2020-02-15 20:37:41 -05:00
alistair3149 9863548919
Attempt to fix styles not loading properly 2020-02-15 20:32:22 -05:00
alistair3149 4c7702f19c
Attempt to fix styles not loading properly 2020-02-15 20:28:17 -05:00
alistair3149 43ab95b516
Attempt to fix styles not loading properly 2020-02-15 20:25:32 -05:00
alistair3149 0256020d9e
Attempt to fix php error 2020-02-15 20:17:43 -05:00
alistair3149 174bb4ccda
Attempt to fix php error 2020-02-15 20:15:36 -05:00
alistair3149 da2b32896c
Attempt to fix resourceloader order 2020-02-15 20:04:53 -05:00
alistair3149 6d29600caf
Attempt to fix resourceloader not loading bug 2020-02-15 19:56:41 -05:00
alistair3149 24724cf9b2
Add missing return line 2020-02-15 19:50:35 -05:00
alistair3149 53416ce050
Optimize resourceloader load order 2020-02-15 19:49:49 -05:00
alistair3149 bbcf4e16ae
Use defaultmodule to load search module instead: 2020-02-15 19:25:47 -05:00
alistair3149 16e187c38d
Renamed resourceloader modules 2020-02-15 16:49:55 -05:00
alistair3149 6dfe6aace2
Added missing function call for referrer policy 2020-01-16 19:14:15 -05:00
github-actions ec2301eb33 Github CI lint - phpcbf 2020-01-10 00:33:26 +00:00
alistair3149 def3f44ed0
Re-added referrer policy since mw implementation does not include response header 2020-01-09 19:26:16 -05:00
github-actions dc495d9851 Github CI lint 2020-01-06 19:28:08 +00:00
alistair3149 286c2d5acc
Added X-XSS-Protection header support 2019-12-31 02:36:17 -05:00
alistair3149 268e00850b
Removed Referrer policy since MW has its implementation > 1.31 2019-12-31 01:41:03 -05:00
alistair3149 bef0d67e6c
Disable default search module
'
2019-12-30 17:41:33 -05:00
alistair3149 041db6b886
Set CSPreportmode to strictly true only 2019-12-27 03:05:05 -05:00
alistair3149 6ab2d17cce
Updated website 2019-12-26 14:04:39 -05:00
Hannes 2344122fa4
Refactor SkinCitizen
Refactored into separate methods also made code MW compliant
2019-12-26 00:15:01 +01:00
alistair3149 72e23056b3 Added support for Feature Policy 2019-12-24 00:40:30 -05:00
alistair3149 21778bec63 Enabled CSP for testing 2019-12-23 23:27:36 -05:00
alistair3149 2e4bc7adc3 Added CSP support 2019-12-23 23:13:42 -05:00
alistair3149 6ee9ce7f98 Added HSTS preload support 2019-12-23 22:43:11 -05:00
alistair3149 067386964e Added HSTS support 2019-12-23 22:17:28 -05:00
alistair3149 ebfa056aee Fixed typo in skincitizen.php 2019-12-23 21:15:52 -05:00
alistair3149 4bd3cd2ec5 Added deny xframe 2019-12-23 21:10:13 -05:00
alistair3149 59aa0d9ab0 Enable strict origin referrer policy 2019-12-23 20:26:26 -05:00
alistair3149 966a8ecefc Updated the value for viewport meta tag 2019-12-23 02:56:10 -05:00
alistair3149 ee403dfcef Added strict referrer policy 2019-12-23 02:34:55 -05:00
alistair3149 ea8f9603dc Removed XUA tag 2019-12-23 02:24:35 -05:00
alistair3149 1596126e1b No image icon for suggestions 2019-12-11 21:10:34 -05:00
alistair3149 34ff3660f3 Experimential search suggestions 2019-12-11 17:14:36 -05:00
alistair3149 b5ccf5d8b9 Added support for Preconnect 2019-12-10 22:59:10 -05:00
alistair3149 45b775c5fc Repushed Citizen skin 2019-08-15 13:40:13 -04:00