Commit graph

6 commits

Author SHA1 Message Date
Ostrzyciel 949d97cdb6 Fix errors when using the DB readonly mode
AJAXPoll used to throw random DB errors when the DB is in readonly
mode, that should be fixed now. Also fixed a few minor bugs
encountered on the way.

Bug: T205219
Change-Id: I079b2876e01ab8e9916fcc8121d7f4c9a23f00a8
2020-01-29 10:57:08 +01:00
libraryupgrader 9c28c663fa build: Updating npm dependencies
* stylelint-config-wikimedia: 0.6.0 → 0.8.0
* eslint-config-wikimedia: 0.8.1 → 0.15.0
* grunt-stylelint: 0.11.1 → 0.13.0
* grunt-eslint: 21.0.0 → 22.0.0

Additional changes:
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I42ad5adf1c4c95e2bff90ed46c608c13a37bb33a
2020-01-09 01:34:50 -08:00
Jack Phoenix 290e497e40 Fix "Use of the "edit" token is deprecated. Use "csrf" instead."
Change-Id: I6cbe578628d9f2904043943d8950feb353a53014
2020-01-02 06:42:57 +02:00
MarcoAurelio e8777a4700 build: Migrate jshint to eslint
Change-Id: I03c60164a042c87d3801188183ab4841b8a26045
2018-09-17 08:29:54 +00:00
Jack Phoenix 0469665d77 Version 2.0: somewhat more properly convert the AJAX function into an API module to ensure continued post-1.30 compatibility
MW 1.30.0+ is now explicitly required; as such, dropped pre-1.17 support
from AJAXPoll#onLoadExtensionSchemaUpdates.

Also "fixed" T163625 by changing an INSERT INTO query into INSERT IGNORE
INTO, swapped some "double quotes" to 'single quotes', refactored some
stuff, etc.

Bug: T163625
Change-Id: Ifbabf3bf5da25c602fe5873539520c517573890c
2018-05-12 15:50:02 +03:00
SamanthaNguyen 4c4348557c Reorganize directory structure + file renaming
Bug: T160849
Change-Id: I4c7ec4d2c5e1dfcc65c4236c8b5d625c6e0e0f12
2017-07-13 15:25:45 +00:00
Renamed from resources/ajaxpoll.js (Browse further)