Commit graph

2714 commits

Author SHA1 Message Date
alistair3149 0c248d0a7d
Added grunt badge 2019-12-26 02:32:05 -05:00
alistair3149 5034ce5051
Rename js.yml to grunt.yml 2019-12-26 02:31:29 -05:00
alistair3149 fda9c83bb1
Update and rename php.yml to composer.yml 2019-12-26 02:31:04 -05:00
alistair3149 901141f98c
Removed jsdoc 2019-12-26 02:30:32 -05:00
alistair3149 2df22c1914 Merge branch 'master' of github.com:StarCitizenTools/mediawiki-skins-Citizen 2019-12-26 02:28:15 -05:00
alistair3149 8a519cfca1
Added jsduck 2019-12-26 02:28:08 -05:00
alistair3149 f173469af7
Changed entry point for jsdoc 2019-12-26 02:22:37 -05:00
alistair3149 92bb1cde37
Update js.yml 2019-12-26 02:20:26 -05:00
alistair3149 9ddd212009 Merge branch 'master' of github.com:StarCitizenTools/mediawiki-skins-Citizen 2019-12-26 02:19:08 -05:00
alistair3149 ef95666585
Updated test files 2019-12-26 02:18:54 -05:00
alistair3149 158afb3d61
Added grunt test 2019-12-26 02:10:53 -05:00
alistair3149 6566967b03 Merge branch 'master' of github.com:StarCitizenTools/mediawiki-skins-Citizen 2019-12-26 02:08:39 -05:00
alistair3149 a765556f9e
Bumped version and updated test files 2019-12-26 02:08:10 -05:00
alistair3149 e152ea9a0e
Create js.yml 2019-12-26 01:52:37 -05:00
alistair3149 28475a8de2
Delete nodejs.yml 2019-12-26 01:46:45 -05:00
alistair3149 d5651f69c3
Create nodejs.yml 2019-12-26 01:45:39 -05:00
alistair3149 43313e8213
Update README.md 2019-12-26 01:44:21 -05:00
alistair3149 253e8d73c7
Updated name 2019-12-26 01:44:03 -05:00
alistair3149 ef5267b208
Update README.md 2019-12-26 01:41:27 -05:00
alistair3149 b40f3f5dae
Added php test 2019-12-26 01:40:39 -05:00
alistair3149 17c75f3942
Update php.yml 2019-12-26 01:35:52 -05:00
alistair3149 cd49831cdd
Created experimental workflow 2019-12-26 01:31:56 -05:00
alistair3149 9d59fc0a6c
Delete php.yml 2019-12-26 01:29:24 -05:00
alistair3149 7f3fc91070
Updated composer 2019-12-26 01:22:10 -05:00
alistair3149 3806384e93
Merge pull request #1 from octfx/feature/refactoring
Refactor Code
2019-12-26 01:16:19 -05:00
alistair3149 2c88c197c2
Create php.yml 2019-12-26 01:15:14 -05:00
alistair3149 7ea2b7efa0
Merge branch 'master' into feature/refactoring 2019-12-26 01:03:58 -05:00
Hannes 5a69ce37eb
Add base german localization
All config messages still missing
2019-12-26 00:26:58 +01:00
Hannes 6423104c0f
Add MW test suite to skin
Run composer install to install dev dependencies
- composer test -> check code style
- composer fix -> auto fix
2019-12-26 00:26:39 +01:00
Hannes 9c2d92991a
Add config values to skin.json
Also added namespaces to hooks and api class
2019-12-26 00:25:04 +01:00
Hannes c1174c0ee5
Made code MW compliant 2019-12-26 00:24:31 +01:00
Hannes 6b3b4980dd
Remove jQuery
Refactored header.js
- Removed global vars
- Removed jQuery

'Should' behave the same like the old version. Some testing needed.
2019-12-26 00:23:38 +01:00
Hannes dd9c8c6f0a
Refactor CitizenTemplate
Pulled out big chunks into separate methods and tried to improve readability.

FEATURE: Made bottom button configurable (although icon and style is still hardcoded)
  - Button can be enabled/disabled through $wgCitizenEnableButton
  - Link configurable through $wgCitizenButtonLink
  - Title configurable through $wgCitizenButtonTitle
  - Text configurable through $wgCitizenButtonText

FEATURE: Made visibility of page tools configurable through $wgCitizenShowPageTools
Possible config values:
  - true -> always visible
  - false -> always hidden
  - 'login' -> only visible if user is logged in
  - 'permission-*' -> only visible if user has the given permission for current page
    - e.g.: 'permission-edit' -> Tools visible if user can edit current page
2019-12-26 00:20:04 +01:00
Hannes 2344122fa4
Refactor SkinCitizen
Refactored into separate methods also made code MW compliant
2019-12-26 00:15:01 +01:00
Hannes c51a1ef796
Refactor Hooks class
Make code compliant to MW guidelines
Add exception checking ang global var removal
2019-12-26 00:13:59 +01:00
Hannes 41b1f157cd
Add 'Citizen' namespaces to Api class
Refactor code to pass MediaWiki guidelines
2019-12-26 00:12:14 +01:00
alistair3149 94d15bb483
Attempt to fix image class #2 2019-12-25 17:33:52 -05:00
alistair3149 bfa10edab9
Attempt to fix image class 2019-12-25 17:10:19 -05:00
alistair3149 fdb97832cf
Fixed broken link from contact button 2019-12-25 16:49:56 -05:00
alistair3149 cf58f8b9a3 Bumped version and updated readme 2019-12-24 01:08:43 -05: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 97d3e2ccb2 Enabled HSTS 2019-12-23 22:25:39 -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 67ca36e631 Changed h1 h2 line height 2019-12-23 18:44:04 -05:00