Commit Graph

3242 Commits

Author SHA1 Message Date
Rsl1122
134a7b1e18 Fixed many Extension Provider store errors 2019-03-20 17:17:23 +02:00
Rsl1122
f31dbe8a9a Fix Extension SQL Syntax errors related to id selection 2019-03-20 15:57:12 +02:00
Rsl1122
da33ec0b9e Extension data updating to login listeners 2019-03-20 15:55:48 +02:00
Rsl1122
f62140d6ca Debug logging of DataExtension registration 2019-03-20 14:40:07 +02:00
Rsl1122
09787f4ff1 Fixed Extension SQL syntax errors 2019-03-20 14:37:55 +02:00
Rsl1122
0c95a4cc63 Config enable check for DataExtension registration 2019-03-20 13:48:50 +02:00
Rsl1122
e8da008538 Added 'extensions' module:
- Module is in charge of registering built in DataExtensions
- This is done via ExtensionRegister
2019-03-20 13:37:56 +02:00
Risto Lahtela
d853a9a47e
Update travis badge 2019-03-18 21:14:33 +02:00
Rsl1122
5061f6d9ec Logging of implementation mistake warnings 2019-03-18 20:10:39 +02:00
Rsl1122
a8450f51b8 Annotation String length enforcement:
- Description is 150 characters max, truncated
- Others are 50 characters max, truncated
- StringProvider value is 50 characters max, truncated
2019-03-18 20:07:17 +02:00
Rsl1122
405d4f643b Extension table create table statements 2019-03-18 19:56:16 +02:00
Rsl1122
031eba7cea Handling of by default empty annotation values 2019-03-18 19:35:08 +02:00
dependabot[bot]
535c24600d Bump junit-jupiter-params from 5.4.0 to 5.4.1 in /Plan
Bumps [junit-jupiter-params](https://github.com/junit-team/junit5) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.4.0...r5.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 13:35:42 +00:00
dependabot[bot]
09cf31d9cb Bump mockito-core from 2.25.0 to 2.25.1 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.25.0 to 2.25.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.25.0...v2.25.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 13:17:31 +00:00
Rsl1122
48e65a60c8 ExtensionService implementation 2019-03-18 15:04:53 +02:00
dependabot[bot]
2e617341bc Bump junit-vintage-engine from 5.4.0 to 5.4.1 in /Plan
Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.4.0...r5.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 13:00:35 +00:00
Rsl1122
dead33f78c Interface for registering DataExtensions 2019-03-18 14:52:23 +02:00
dependabot[bot]
b55c560c98 Bump junit-platform-runner from 1.4.0 to 1.4.1 in /Plan
Bumps [junit-platform-runner](https://github.com/junit-team/junit5) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 12:43:07 +00:00
Rsl1122
a812af9e5f Transaction for removing invalid providers from storage 2019-03-18 14:33:43 +02:00
dependabot[bot]
eb8ea12399 Bump mockito-junit-jupiter from 2.25.0 to 2.25.1 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 2.25.0 to 2.25.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.25.0...v2.25.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 12:30:41 +00:00
Rsl1122
a87c2cd32e String result store transaction 2019-03-18 14:27:14 +02:00
Rsl1122
78959ba190 Percentage result store transaction 2019-03-18 14:26:38 +02:00
Rsl1122
413e0501df Number result store transaction 2019-03-18 14:25:59 +02:00
Rsl1122
76d4298818 Double result store transaction 2019-03-18 14:25:17 +02:00
Rsl1122
770a896864 Boolean result store transaction 2019-03-18 14:24:07 +02:00
dependabot[bot]
25366ab85b Bump junit-jupiter-engine from 5.4.0 to 5.4.1 in /Plan
Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.4.0...r5.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 12:21:21 +00:00
Rsl1122
47cd1bab6e DoubleProvider, PercentageProvider store transaction 2019-03-18 14:16:19 +02:00
Rsl1122
129db2d941 StringProvider store transaction 2019-03-18 14:15:14 +02:00
Rsl1122
7d13012371 NumberProvider store transaction 2019-03-18 14:12:58 +02:00
Rsl1122
3f9f50de69 BooleanProvider store transaction 2019-03-18 14:11:27 +02:00
Rsl1122
7c04725ce8 plan_extension_user_values table information 2019-03-18 13:09:53 +02:00
Rsl1122
3cff8bbf1d plan_extension_providers table information 2019-03-18 13:09:27 +02:00
Rsl1122
1e374291ef String provider extra info 2019-03-18 13:09:00 +02:00
Rsl1122
74218f90cb Storage of Provider icons 2019-03-18 12:52:00 +02:00
Rsl1122
590d5c0e64 Player data gathering for all providers:
- Incremental condition resolution of BooleanProvider conditions
- Gathering of Number and String values
- Gathering and disambiguation between double and percentage providers.
2019-03-18 12:47:39 +02:00
Rsl1122
f10c2352df Simplified Provider method calling:
- Added an enum for each method kind
  - Moved parameter resolution to the end of the chain, right before
    invoking the method.
  - The enum is used for storage in DataProviders for easier access.
- ProviderInformation created as early as possible
2019-03-17 17:52:20 +02:00
Rsl1122
c5b28fe3f9 Storage of plugin info, icon and tabs of DataExtension 2019-03-17 11:56:33 +02:00
dependabot[bot]
5884bedb54 Bump sqlite-jdbc from 3.25.2 to 3.27.2 in /Plan
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.25.2 to 3.27.2.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.25.2...3.27.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-15 12:20:46 +00:00
Rsl1122
41f5ce4853 Small amount of code cleanup 2019-03-14 16:57:10 +02:00
Rsl1122
b52d113e2e Provider Extraction + priority to Providers:
Implemented methods for extracting each kind of Provider annotation
related method information to a DataProvider.

DataProviders required some duplicate code due to type erasure of the
parameter class.

----

Added Display-priority to Providers, highest value is placed top most.

InvalidateMethod annotations are now extracted.
2019-03-14 16:53:05 +02:00
Rsl1122
305d0fd77c Begun work on extracting data providers 2019-03-13 12:59:33 +02:00
Rsl1122
a52954dbb8 Method names used as provider identifiers 2019-03-13 10:50:54 +02:00
Rsl1122
245c083237 Refactored ExtensionExtractor, Added Group parameter 2019-03-11 12:30:21 +02:00
Risto Lahtela
5bfc72b387
Update versions.txt 2019-03-10 14:13:56 +02:00
Risto Lahtela
e6576a281b
[Merge] Version 4.7.2 (#960) 2019-03-10 14:13:24 +02:00
Rsl1122
0d4d174493 Version bump to 4.7.2 2019-03-10 13:57:33 +02:00
Rsl1122
e04633d916 Improved name encoding of export filenames 2019-03-10 13:55:02 +02:00
Rsl1122
5ef3c64dc3 Added progress messages to export players command 2019-03-10 13:54:43 +02:00
Rsl1122
228e2d509c Removed some usages of DataContainer#getUnsafe
Fixes Unsupported Key exception on player JSON export
2019-03-10 13:27:04 +02:00
Rsl1122
3167cc5f6a [#958] Export Command + online status change export
Added /plan manage export that can be used to export all players
based on config settings. Arguments: list, players, server_json
Permission: plan.manage

Added a config setting 'Export.Export_player_on_login_and_logout' for
exporting player page and JSON based on config settings on
login or logout.
2019-03-10 13:11:39 +02:00