Commit Graph

3257 Commits

Author SHA1 Message Date
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
Rsl1122
0ed86b532c Workaround for ServerInfo related hang on enable 2019-03-08 16:31:10 +02:00
Rsl1122
c22740deaa [#956] Made serverBaseUser Query return a Set instead of List
Also changed BaseUser#equals to make sure only a single BaseUser per
UUID + name is present
2019-03-08 14:44:46 +02:00
Rsl1122
248e662414 Fixed test fail caused by transaction isolation
Since each transaction is isolated, any inserts done in the
transaction do not affect the queries in the transaction.

Since TestData had both PlayerRegisterTransaction and
PlayerServerRegisterTransaction (extends former) the tests failed as
query for plan_users register status returned false even though
the previously executed statement inserted the user.
2019-03-08 10:26:29 +02:00
Rsl1122
4215939deb Attempt to catch #956 with tests 2019-03-08 10:00:49 +02:00
Rsl1122
8a13f1d792 Created a better test dataset 2019-03-08 09:35:23 +02:00
dependabot[bot]
9fbf354cdd Bump nucleus-api from 1.9.0-S7.1 to 1.9.1-S7.1 in /PlanPluginBridge
Bumps nucleus-api from 1.9.0-S7.1 to 1.9.1-S7.1.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-07 12:22:03 +00:00
Rsl1122
aa8fe70e1f Validation class for annotations 2019-03-06 17:56:47 +02:00
Rsl1122
98847a5b71 Retention and Target to Providers 2019-03-06 16:54:41 +02:00
Rsl1122
b396602135 Added StringProvider 2019-03-06 16:40:55 +02:00
Rsl1122
605f28f12c Added PercentageProvider 2019-03-06 16:36:40 +02:00
Rsl1122
1fb62cc1cc Added DoubleProvider 2019-03-06 16:32:34 +02:00
Rsl1122
c6f3d7b59b Added NumberProvider 2019-03-06 16:30:12 +02:00
Rsl1122
53216a4e1c Added BooleanProvider annotation 2019-03-06 16:22:10 +02:00
Rsl1122
b5bf859b78 Merge branch 'development' into extension-api 2019-03-06 15:58:19 +02:00
Rsl1122
972e54a351 Merge branch 'master' into development 2019-03-06 15:55:39 +02:00
dependabot[bot]
01eb4ead44 Bump mockito-core from 2.24.5 to 2.25.0 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.24.5 to 2.25.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.24.5...v2.25.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-06 12:34:13 +00:00
dependabot[bot]
c6ad91241d Bump mockito-junit-jupiter from 2.24.5 to 2.25.0 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 2.24.5 to 2.25.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.24.5...v2.25.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-06 12:20:43 +00:00
Risto Lahtela
f281f26543
[Merge] Version 4.7.1 (#950) 2019-03-06 10:25:26 +02:00
Risto Lahtela
302f36ab7f
Update versions.txt 2019-03-06 10:24:37 +02:00
Rsl1122
37a1d53251 Version bump to 4.7.1 2019-03-06 10:14:53 +02:00
Rsl1122
19f85afea3 [#948] Fixed Server JSON export 2019-03-05 16:47:55 +02:00
dependabot[bot]
ddf4414348 Bump nucleus-api from 1.8.3-S7.1 to 1.9.0-S7.1 in /PlanPluginBridge
Bumps nucleus-api from 1.8.3-S7.1 to 1.9.0-S7.1.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-05 12:21:22 +00:00
Risto Lahtela
8cccd4d4d6
Update versions.txt 2019-03-05 14:15:23 +02:00
Rsl1122
423d9c88a0 [#943] Removed unnecessary Server UUID column from some queries 2019-03-05 13:36:29 +02:00
Rsl1122
a235bda099 [#942] Reproduced & fixed WorldMap error
Error was caused by two different unknown geolocations ("Local Machine",
"Not Known") mapping to null due to missing Geo code (eg. 'FIN')
2019-03-04 10:31:22 +02:00
Rsl1122
5f2e097ac3 Information annotations for DataExtension API 2019-03-03 21:21:04 +02:00
Rsl1122
b4a3feddf5 Plan api module 2019-03-03 21:21:04 +02:00
Risto Lahtela
0f32c030e6
Update versions.txt 2019-03-03 19:42:29 +02:00
Risto Lahtela
45b33e49e0
[Merge] 4.7.0 (#941) 2019-03-03 19:41:32 +02:00
Risto Lahtela
720bfafb02
Merge branch 'master' into development 2019-03-03 19:40:53 +02:00
Rsl1122
cc4af67412 Fixed /server page back button 2019-03-03 19:15:37 +02:00
Rsl1122
d2551a206d Fixed concurrent modification on FileWatcher 2019-03-03 19:12:48 +02:00
Rsl1122
1f341c0921 Version bump to 4.7.0 2019-03-03 19:11:50 +02:00
Rsl1122
016e1dc4bc PluginData related error message clarification 2019-03-03 18:59:27 +02:00
Rsl1122
1c4938a3db [#934, #939] Attempt to fix broken databases 2019-03-03 18:46:28 +02:00