Commit graph

52 commits

Author SHA1 Message Date
alistair3149 7e20df1f0b
doc: change default branch from master to main 2021-05-20 12:08:06 -04:00
alistair3149 c43e5279dd feat: remove lazyload modules
It is replaced by the core config `$wgNativeImageLazyLoading`
2021-05-17 16:55:11 -04:00
alistair3149 b2bd79196d
feat: rework search module (#386)
* feat: rewrite search module (WIP)
There are some caveats because it is a WIP
- Messages are not i18n yet
- Missing placeholder suggestion thumbnail
- Only REST mode works
- Missing greeting message when there is no search query
- Code might look like a mess (I learned JS not long ago)

* refactor: remove old search module

* feat: clean up search suggestion styles

* feat: hide overflow for suggestion text

* feat: add action API and various cleanup

* feat: re-add abort controller

* feat: add message support and tweaks

* feat: use virtual config instead of ResourceLoader hook

* fix: missing comma in const definition

* feat: add ARIA attributes
2021-05-17 16:34:14 -04:00
alistair3149 3c64070d6e
doc: remove extra footstop in readme 2021-04-28 12:09:19 -04:00
alistair3149 fcb36600e5
doc: fix a few typo in readme 2021-04-28 12:08:51 -04:00
alistair3149 117c7efb32 doc: add space between badges 2021-04-28 12:05:52 -04:00
alistair3149 7a3c4a33fb doc: update readme and add new badges 2021-04-28 12:05:52 -04:00
alistair3149 66a9a29bbf
fix: add missing permission policy config 2021-04-19 14:22:15 -04:00
alistair3149 013cfbb259
feat: add support for Permissions Policy 2021-04-19 14:17:23 -04:00
alistair3149 17069c3fef
doc: add the site stat config 2021-03-22 17:05:52 -04:00
alistair3149 6f4dc240ee
doc: fix typo on wgCitizenSearchUseREST 2021-03-12 16:20:36 -05:00
alistair3149 32ffddb2aa
doc: add remark on CitizenSearchDescriptionSource
REST API search endpoint does not provide access to textextract and pagedescription value.
2021-03-12 14:33:28 -05:00
alistair3149 062cdd91a1
feat: add option to use REST API as search suggestion source
Co-authored-by: Hannes <hannes@octofox.de>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-12 14:25:32 -05:00
alistair3149 bf24b76589
doc: update default value of theme color config 2021-03-08 14:04:07 -05:00
alistair3149 0375a5cbc9
doc: fix typo 2021-03-02 19:42:20 -05:00
alistair3149 11009deeb2
Add collapsible sections to features 2021-03-02 19:40:10 -05:00
alistair3149 af5565f490
feat: implement collapsible sections 2021-03-02 17:16:24 -05:00
alistair3149 00448a095d
feat: add drawer subsearch part 2 2021-02-03 15:47:32 -05:00
alistair3149 7f0899d940
docs: add PortalAttach config 2021-01-29 15:55:41 -05:00
alistair3149 6da02aba6d docs: update dark mode readme 2021-01-12 18:35:31 -05:00
alistair3149 dbcf0c3318
doc: bump version to 1.2.0 2021-01-12 18:23:58 -05:00
alistair3149 d1b96d5639
Update README.md 2020-08-23 12:19:12 -04:00
alistair3149 edd7d30cca
Remove config flag from readme 2020-08-23 11:59:19 -04:00
alistair3149 972d71edab Emphasize 1.35+ requirement 2020-08-12 12:59:57 -04:00
alistair3149 4583a49383 Bump major version as it requires 1.35+ now 2020-08-12 12:59:57 -04:00
alistair3149 72570a7b4a Update readme about legacy version 2020-08-12 12:59:56 -04:00
alistair3149 1e012eb101
Default image lazyload to false due to leak 2020-07-22 17:07:15 -04:00
Hannes Kruse 8703b7bd7c
Fix some typos
Signed-off-by: Hannes Kruse <hannes@octofox.de>
2020-07-05 14:33:01 +02:00
alistair3149 f72af5e76d
Improve CI and code clean up (#143)
* Replace existing grunt linter

* Fix stylesheet issues picked up by stylelint

* Update the git workflow

* Fix incorrect slash in workflow file

* Github CI lint - eslint/stylelint

* Clean up composer

* Fix phpcb error

* MediaWiki CI

* Change commit message

* Update status badge

* Add JSDoc

* Add SVGO

* Make a dinner reservation - MediaWiki CI

I clean up code to MediaWiki standards

* Optimize SVG files with SVGO

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-16 22:49:41 -04:00
alistair3149 105412c408
Fix link in README 2020-06-12 15:44:02 -04:00
alistair3149 034a350969
Update README 2020-06-12 15:43:05 -04:00
alistair3149 71049159dd
Update README 2020-06-12 15:41:20 -04:00
alistair3149 e47188054a
Update README.md 2020-06-12 15:25:49 -04:00
alistair3149 9d6f97cae6
Added config to disable lazyload (#121) 2020-06-09 01:28:50 -04:00
alistair3149 4ad5056fc4
Add config to enable or disable rich search suggestions 2020-06-07 17:16:45 -04:00
alistair3149 c1f5a52ef7
Installation steps 2020-03-26 15:58:16 -04:00
alistair3149 11f6408ed3
Added all configurations to doc 2020-03-26 15:43:30 -04:00
alistair3149 d1c33a9c77
WIP: Added other security headers to the doc 2020-03-26 15:39:02 -04:00
alistair3149 abbde42c0e
WIP: Added HSTS documentation 2020-03-26 15:30:26 -04:00
alistair3149 c539631c51
WIP: Adding better documentation on configurations 2020-03-26 15:25:22 -04:00
alistair3149 658084bb0d
Add option to choose description source for search suggestion 2020-01-01 16:38:10 -05:00
alistair3149 286c2d5acc
Added X-XSS-Protection header support 2019-12-31 02:36:17 -05:00
alistair3149 24b74796f4
Removed reference of referrer policy in README 2019-12-31 01:43:29 -05:00
alistair3149 83ee8a6bc4
Update README.md 2019-12-26 13:34:49 -05:00
alistair3149 ac11832609
Added a space between the badges 2019-12-26 03:13:43 -05:00
alistair3149 0c248d0a7d
Added grunt badge 2019-12-26 02:32:05 -05:00
alistair3149 43313e8213
Update README.md 2019-12-26 01:44:21 -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 cf58f8b9a3 Bumped version and updated readme 2019-12-24 01:08:43 -05:00