Commit Graph

37 Commits

Author SHA1 Message Date
Aurora Lahtela 5061439d14
1623/access control (#3173)
* Add web authorization permission based on groups
  * Access and parts of website are limited by permissions
* Add group management in /manage page
  * Higher level permissions grant lower level permissions similar to Sponge
* Add command /plan setgroup, which uses plan.setgroup.other permission
* Add command /plan groups, which uses plan.setgroup.other permission
* Add more navigation based on permissions
* API modifications
  * User#hasPermission now returns true if user has parent permission in the tree
  * ResolverService#registerPermissions and ResolverService#registerPermission methods for adding new permissions
* Update locale with new lines
* Various unrelated fixes to CSS and code

Affects issues:
- Close #1623
2023-08-20 11:56:13 +03:00
Aurora Lahtela c93317d0c7 Bump version to 5.5 2022-06-18 11:45:59 +03:00
Aurora Lahtela 92910d647a Revert API jar to Java 8 and update to Java 11 APIs 2022-06-18 11:31:53 +03:00
Risto Lahtela e90606b68a
5.4: Java 16 support, remove H2 (#1932)
* Stop downloading dependencies at startup, include them instead
* 5.4: Removed H2
* Platform Abstraction Layer 5.0.0, delete dependency downloading
* Removed some unnecessary native sqlite drivers
* Serve jquery via CDN

Affects issues:
- Fixes #1886
- Close #1908 (No longer relevant, library no longer included)
2021-06-12 10:21:38 +03:00
Risto Lahtela fa4a2e6595
Gradle 7 Update by Kopo (#1931)
Updates gradle to version 7 and sorts out all the deprecated stuff

Affects issues:
- Clsoe #1871

Co-authored-by: Antti Koponen <koponen942@outlook.com>
2021-06-12 08:24:24 +03:00
Risto Lahtela 99a13dfb04 Bump version to 5.3 2021-04-25 11:27:57 +03:00
Risto Lahtela bd7336b411 Plan API 5.2-R0.9: Fixed access issue with package private classes
Affects issues:
- Fixed #1862
2021-04-23 08:56:11 +03:00
Risto Lahtela 2247b9099c Plan API 5.2-R0.8: Reduced builder compiler errors 2021-04-17 09:40:07 +03:00
Risto Lahtela 9bf0838026 Plan API 5.2-R0.7: Group method databuilders & reduced builder compiler errors 2021-04-17 09:35:18 +03:00
Risto Lahtela af858b8455 Plan API 5.2-R0.6: InvalidateMethod equivalent to ExtensionDataBuilder 2021-04-13 11:57:38 +03:00
Risto Lahtela ab31f8a074 Plan API 5.2-R0.5: More lenient TabInfo annotation usage
- No more warning when TabInfo is defined without Tab annotations.
  This is because builders can define tabs regardless.
2021-04-11 11:53:44 +03:00
Risto Lahtela c3ce37bfa9 Plan API 5.2-R0.4: SchedulerService
Allows scheduling async tasks for platforms that don't have static
accessors for registering tasks, such as Velocity
2021-04-11 10:28:08 +03:00
Risto Lahtela 9302067a49 Plan API 5.2-R0.3: ListenerService
Allows registering listeners for platforms that don't have static
accessors for registering listeners, such as Velocity
2021-04-11 10:16:37 +03:00
Risto Lahtela 1fafd303d3 Publish Plan API 5.2-R0.2 with DataExtension Builder API 2021-04-09 11:00:53 +03:00
Risto Lahtela b7af2a5717 Moved to using the new repository
- Updated some extensions
- Removed GriefPreventionPlus extension since it was no longer
  available anywhere for installing

Affects issues:
- Close #1779
2021-03-05 14:27:30 +02:00
Risto Lahtela 92cefaafa3 Publish plan-api with Github Packages instead
Affects issues:
- #1779
2021-03-04 09:41:12 +02:00
Risto Lahtela 1664199574 Extension Table now handles Optionals
Updated mcMMO Extension to R1.2

Affects issues:
- Fixed #1643
2021-01-03 12:27:49 +02:00
dependabot-preview[bot] 3d29aa0d98 Bump commons-lang3 from 3.10 to 3.11 in /Plan
Bumps commons-lang3 from 3.10 to 3.11.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-17 05:45:45 +00:00
Risto Lahtela ea2ae5d3e1 Linked web users to players or console
PageExtension API:
- Added WebUser#getUsername
- Changed WebUser#getName to return player's name or 'console'
- API version 5.1-R0.4
2020-05-03 23:26:01 +03:00
Risto Lahtela dff96b1728 Implemented session playtime to Query API.
CommonQueries#fetchCurrentSessionPlaytime,
requires Capability#QUERY_API_ACTIVE_SESSION_PLAYTIME

API version increased to v5.1-R0.3

Affects issues:
- #1384
2020-05-03 18:32:55 +03:00
dependabot-preview[bot] d976d9dd10 Bump com.jfrog.bintray from 1.8.4 to 1.8.5 in /Plan
Bumps com.jfrog.bintray from 1.8.4 to 1.8.5.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 05:39:49 +00:00
dependabot-preview[bot] 6a07cd5cc9 Bump commons-lang3 from 3.9 to 3.10 in /Plan
Bumps commons-lang3 from 3.9 to 3.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 06:04:17 +00:00
Risto Lahtela 45d6bfb840 Made resource resolution more flexible
- API 5.1-R0.2: Added ResolverService#getResolvers method
- /players/ now redirects to /players
- All error pages now have proper css

Affects issues:
- Fixed #1378
2020-03-28 13:00:34 +02:00
Risto Lahtela b7c84980e3 Bump API version, add Capabilities:
- PAGE_EXTENSION_RESOLVERS
- PAGE_EXTENSION_RESOURCES
2020-03-20 22:26:03 +02:00
Rsl1122 e7da714f55 Initial draft of ResolverService
Affects issues:
- #1288
2020-03-14 12:35:05 +02:00
Rsl1122 2da10001dc Truncation of Extension table column names 2019-09-05 17:22:09 +03:00
Rsl1122 5d3bc4c95d Implemented SettingsService 2019-09-03 09:32:38 +03:00
Rsl1122 6cbf28ad17 Plan API 5.0-R0.2: Changed GroupProvider to return String[] 2019-09-03 09:32:22 +03:00
Rsl1122 a7978c8bda Plan API 5.0-R0.1: DATA_EXTENSION_GROUPS Capability 2019-09-03 09:32:17 +03:00
Rsl1122 43a43b604c api 0.0.6: Query API
Affects issues:
- #1117
2019-07-28 11:22:32 +03:00
Rsl1122 6d788ba61a Added NotReadyException to DataExtension API (0.0.5) 2019-05-10 14:21:52 +03:00
dependabot[bot] 40b531b3da Bump com.jfrog.bintray from 1.8.1 to 1.8.4 in /Plan (#1024)
Bumps com.jfrog.bintray from 1.8.1 to 1.8.4.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-01 10:59:16 +03:00
Rsl1122 e18bf38637 Added a CapabilityService to api module 2019-04-07 13:45:44 +03:00
Rsl1122 bb2be54604 More flexible definition of calling Extension methods 2019-03-31 12:12:59 +03:00
Rsl1122 f73cef8587 Bump extension API to 0.0.2 2019-03-24 15:53:20 +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
Rsl1122 b4a3feddf5 Plan api module 2019-03-03 21:21:04 +02:00