Commit Graph

50 Commits

Author SHA1 Message Date
Antti Koponen 4196141db1
Fixes for Fabric 1.19 by Kopo (#2419)
* Gradle 7.4.2
* Build changes for MC 1.19

- Updated loom to minor version 0.12 & moved to root project
- Updated mappings, command API, fabric API & loader version
- Moved Selenium to common module because of a conflict with loom's dependency resolution

* Add remap folder to .gitignore
* Fix version token replacement
* Update to Minecraft 1.19
* Don't forget the pipelines

Affects issues:
- Fixed #2417
2022-06-10 16:21:53 +03:00
dependabot[bot] b4017604bf
Bump com.github.node-gradle.node from 3.2.1 to 3.3.0 in /Plan (#2369)
Bumps com.github.node-gradle.node from 3.2.1 to 3.3.0.

---
updated-dependencies:
- dependency-name: com.github.node-gradle.node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 08:55:10 +03:00
Aurora Lahtela 71927903aa
Download node as part of gradle yarn setup 2022-04-15 11:07:32 +03:00
Aurora Lahtela 3822155b40
Frontend BETA: Rewrite Player page with React (#2312)
* Add extension data to /v1/player endpoint
* Use node gradle plugin for building with yarn
* Add /v1/whoami endpoint
* Add back button to sidebar
* Selenium Tests for locale related js errors
* Convert locale system to use YAML-based storage
* Added a conversion process that runs on startup
* Replace cravatar.eu with crafatar.com for skins (more reliable)
* Add the Header made by Kopo to React

Co-authored-by: Antti Koponen <koponen942@outlook.com>

Affected issues:
- Resolve #1733
- Fixed #1092
- Resolve #1895
- Resolve #1965
- Partial #2260 
- Partial #2099
2022-04-06 17:37:23 +03:00
Aurora Lahtela 9ff08c2267 Combined some dependency versions as variables 2022-02-28 18:50:21 +02:00
Aurora Lahtela 22ebdab821 Export noauth.css to hide logout button
- Added test for exported pages that uses Selenium to check for js errors
2022-02-27 15:40:35 +02:00
dependabot[bot] 4375296376
Bump dev.vankka.dependencydownload.plugin from 1.1.4 to 1.2.1 in /Plan (#2283)
Bumps dev.vankka.dependencydownload.plugin from 1.1.4 to 1.2.1.

---
updated-dependencies:
- dependency-name: dev.vankka.dependencydownload.plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 07:37:05 +02:00
Aurora Lahtela edc0a646ec
Update dependency download to newer version 2022-02-14 18:25:26 +02:00
Henri S efd3b75a29
Database Driver downloading (#2144)
Affects issues:
- Fixed #1944
2021-10-31 13:16:47 +02:00
Risto Lahtela fb998fdc90 Changed mysql and sqlite to use implementation instead of shadow
this is to exclude things like google/protobuf folder properly
The sql drivers are still included
2021-10-30 10:07:06 +03:00
Aurora Lahtela ebb1108969
Comment out slimjar related configuration (#2138) 2021-10-27 18:43:14 +03:00
Risto Lahtela 4258e27a66 Fixed corner case of determineWebAssetModifications step
git log would return empty line for files with no git history.

Added a check that uses current time instead of git log if file is not in git history.
2021-09-26 14:01:07 +03:00
dependabot[bot] e066ff7215
Bump io.github.slimjar from 1.2.1 to 1.2.2 in /Plan (#2043)
* Bump io.github.slimjar from 1.2.1 to 1.2.2 in /Plan

Bumps io.github.slimjar from 1.2.1 to 1.2.2.

---
updated-dependencies:
- dependency-name: io.github.slimjar
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Added vshnv.tech repository for including the slimjar library jar

* use papermc.io/repo for downloading slimjar dependencies

Affects issues:
- Resolved https://github.com/slimjar/slimjar/issues/52
- Resolved https://github.com/slimjar/slimjar/issues/53

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Risto Lahtela <24460436+AuroraLS3@users.noreply.github.com>
2021-08-08 09:21:44 +03:00
Antti Koponen d29a94e6a4
Implement SlimJar as a runtime dependency downloader (#1990)
MySQL & SQLite are dynamically (down)loaded to the classpath instead of being shaded.

Affects issues:
- Close #1944
2021-08-07 15:29:54 +03:00
Antti Koponen 67153e8fc5
Fabric Platform Implemenation (#2018)
Adds a fabric specific Plan module that builds a separate jar.

Co-authored-by: Vankka <vankka.main@gmail.com>
Co-authored-by: DrexHD <nicknamedrex@gmail.com>

Affects issues:
- Close #1956
2021-07-24 14:10:48 +03:00
Risto Lahtela 750428a033 Fix WebAssetVersion.yml not being written with 'clean shadowJar' 2021-07-24 09:09:05 +03:00
Emilia Dreamer a90f003462
Notify about old versions of html customized files (#2014)
Affects issues:
- Close #1995
2021-07-23 17:17:35 +03:00
Risto Lahtela b8b24c07c6 Remove exclusion of sqlite jdbc3 drivers
Affects issues:
- Fixed #1935
2021-06-13 09:03:55 +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 7e08ea8245 Fixed plugin not enabling on Sponge or nukkit
- Removed module-info.class that came from asm
- Don't relocate SQLite since the NativeDB class is not relocated properly
2021-03-15 18:24:40 +02:00
Risto Lahtela bfcb7eea85
Dependency downloading (#1795)
Affects issues:
- Fix #1759
2021-03-15 15:28:36 +02:00
Risto Lahtela 42ecfa7298 Removed unnecessary libraries from the jar
- Removed http client dependency
- Removed html compressor dependency

- No longer shadowing http client from geolite2 dependencies
2021-03-15 13:56:36 +02:00
Risto Lahtela e1bffbcc1f
Swap Abstract Plugin Framework for Platform Abstraction Layer library (#1787)
Replaced Abstract Plugin Framework with Platform Abstraction Layer

Large amount of changes due to removal of features from the library,
and change of the way the abstraction is achieved.
Removes features from Plan:

    Removed debug logging (Considered useless when debugging issues)
    Removed /debug page (Considered useless when debugging issues)
    Removed enable timing (Benchmarking utility was removed from the library)
2021-03-09 11:36:07 +02:00
Risto Lahtela 4604bd930e Relocated Caffeine library later
Affects issues:
- Fixed #1756
2021-02-14 19:46:21 +02:00
Risto Lahtela 49868ee590 Added SQLite support for Nukkit
Affects issues:
- Close #1472
2021-01-01 10:22:50 +02:00
Risto Lahtela eedd432994 Relocated apache packages later
Affects issues:
- Fixed #1598
2020-10-12 10:36:15 +03:00
Risto Lahtela 15e7d38043 Better method disabling for DataExtension API 2020-05-23 12:13:46 +03:00
Rsl1122 f16bd6a565 Updated font awesome to 5.12.0
- Adds support for fonts to Plan webserver
2020-01-17 21:11:06 +02:00
Rsl1122 16a5b41db5 Implemented new GeoLite2 & IP2C geolocators
- GeoLite2 downloads the file using License key, only if EULA is accepted
- Fallback to IP2C if GeoLite2 is not available
- Remove GeoIP.dat after successfully downloading GeoLite2-Country.mmdb
- Added case where geolocation fails to enable and doesn't cause issues

- Adds Apache commons-compress to the dependencies because of a tar archive

Affects issues:
- Fixed #1273
2020-01-17 21:11:02 +02:00
Risto Lahtela 2877fdc5ca
Implemented Nukkit Support (#1244)
- Implemented APF for Nukkit
- Copied Bukkit implementation and modified it for Nukkit
- Fixed SQLite not being present on Nukkit by switching to H2 on boot

Affects issues:
- Close #1020
2019-12-08 10:26:24 +02:00
Rsl1122 3744b1b98b Automatic version incrementing
Build artifact now 5.0-SNAPSHOT

Version is 5.0 build $number where number is amount of commits since
cdb13e3b66
2019-12-07 20:12:45 +02:00
Rsl1122 e5a233ae0e Made google relocation rules more specific
Affects issues:
- Fixed #1196 (Manually tested)
2019-10-25 14:39:55 +03:00
Rsl1122 7b52342d26 Removed pluginbridge as a dependency 2019-09-03 09:32:23 +03:00
Rsl1122 f0e1b7521d Removed guava as a dependency 2019-09-03 09:31:57 +03:00
Rsl1122 20df1264ad Added gson as dependency 2019-09-03 09:31:57 +03:00
Rsl1122 30c3494091 Removed module-info.classes from the jar 2019-08-01 20:35:33 +03:00
Rsl1122 3a2568d5db Added MySQL-Driver to Plan (Velocity support)
Affects issues:
- Close #739
2019-07-08 12:16:06 +03:00
Rsl1122 a2554d2dbc Test against duplicate columns in players table 2019-05-12 19:36:23 +03:00
Rsl1122 8ff4a12bd7 Excluded test dependencies 2019-04-03 23:14:55 +03:00
Rsl1122 461c9ea472 Updated to gradle 5.3.1 2019-04-03 22:44:26 +03:00
Rsl1122 134a7b1e18 Fixed many Extension Provider store errors 2019-03-20 17:17:23 +02:00
Rsl1122 da33ec0b9e Extension data updating to login listeners 2019-03-20 15:55:48 +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 305d0fd77c Begun work on extracting data providers 2019-03-13 12:59:33 +02:00
Rsl1122 7a47da4319 Fixed SLF4J no-op logger not shading 2019-01-08 21:36:13 +02:00
Rsl1122 f80faef760 Rename final artifact to 'Plan' instead of 'plugin' 2019-01-08 13:27:08 +02:00
Rsl1122 51eb37c382 Fixed gradle shadow issues
Now relocation works, the relocated items were not being depended on
2018-12-19 19:08:07 +02:00
Rsl1122 8e2df1de9b Fixed Gradle build failing, shadow problems remain.
Shadow does not relocate classes in the final jar for some reason, and the final jar is bigger than what is produced by maven
2018-12-18 23:06:47 +02:00
MicleBrick 65221b1ba9 Add WIP gradle build scripts (#833) by Miclebrick
> Not actually fully functional, but it's a start
2018-12-18 21:13:05 +02:00