Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
23725a7
temp co mmit
auriium Mar 12, 2021
70fc32f
pre delete commit
auriium Mar 13, 2021
be05173
prechanges commit
auriium Mar 13, 2021
1ccb51a
begin work on user friendliness
auriium Mar 17, 2021
8e6cbfe
stupid type guaruntees through consumers :eye_roll:
auriium Mar 18, 2021
bd75aaa
finish up command stuff, start work on value stuff
auriium Mar 18, 2021
80cc540
update all the garbage
auriium Mar 18, 2021
a18fcfa
add default tests
auriium Mar 18, 2021
2f76855
add more tests, start work on annotation parsing
auriium Mar 18, 2021
b6dc83a
fix some branchnode stuff
auriium Mar 18, 2021
427d9b2
add readme.md
auriium Mar 18, 2021
7be9a51
update readme.md
auriium Mar 19, 2021
771e065
Fix a variety of issues outlines in the PR
auriium Mar 20, 2021
70fbc97
Update core/pom.xml
auriium Mar 21, 2021
0e75f19
big fucking update
auriium Mar 23, 2021
bac3d81
Merge remote-tracking branch 'origin/master'
auriium Mar 23, 2021
c6c85a1
adjust some stuff
auriium Mar 23, 2021
8dd5e2a
Create maven.yml
auriium Mar 23, 2021
91f6b81
start work on the permission stuff
auriium Mar 23, 2021
31af034
Merge remote-tracking branch 'origin/master'
auriium Mar 23, 2021
f6d9416
add perms and strategies. probably need some implementations for spergot
auriium Mar 23, 2021
cb760cb
sick of fucking branch its tick time
auriium Mar 23, 2021
8e7c984
Update core/src/main/java/me/aurium/beetle/branch/handlers/EmptySugge…
auriium Mar 24, 2021
5c31214
lots of changes
auriium Mar 27, 2021
2043e9a
Merge remote-tracking branch 'origin/master'
auriium Mar 27, 2021
c984278
finish work on the alpha fallback system
auriium Mar 27, 2021
6e11469
add adapter stuff clumsily
auriium Mar 29, 2021
9b02557
pre-handler save commit
auriium Mar 30, 2021
ba8b34c
work on the response system a bit more
auriium Apr 7, 2021
6fe88d0
intermediary commit, finish up basics of message and response system
auriium Apr 8, 2021
3fd6000
re organize packages, add license
auriium Apr 22, 2021
6ca9cc8
work on adapters (hint: adapters need to provide an interfacing handler)
auriium Apr 22, 2021
93e075a
finish up with adapters
auriium Apr 22, 2021
9510fc9
randomshit
auriium Apr 22, 2021
a531c41
Update maven.yml
auriium Apr 22, 2021
9cd345e
add adapter stuff clumsily
auriium Mar 29, 2021
1062c49
pre-handler save commit
auriium Mar 30, 2021
1366f8e
work on the response system a bit more
auriium Apr 7, 2021
25797a5
intermediary commit, finish up basics of message and response system
auriium Apr 8, 2021
581b5e3
re organize packages, add license
auriium Apr 22, 2021
c54d755
work on adapters (hint: adapters need to provide an interfacing handler)
auriium Apr 22, 2021
e8e9194
finish up with adapters
auriium Apr 22, 2021
2d8122e
randomshit
auriium Apr 22, 2021
75cffd4
rebase onto current
auriium Apr 22, 2021
49ce968
Merge remote-tracking branch 'origin/adapters' into adapters
auriium Apr 22, 2021
cea4b40
add small amounts of documentation
auriium Apr 22, 2021
a185988
refactor - this isn't beetle anymore
auriium Apr 22, 2021
8eafb93
Update core/src/main/java/me/aurium/branch/nodes/argument/ArgumentCon…
auriium Apr 24, 2021
c0b60a7
compress messageprovider and MessageMap into one class
auriium Apr 27, 2021
735e276
Merge remote-tracking branch 'origin/adapters' into adapters
auriium Apr 27, 2021
85d4419
fix various build failures
auriium Apr 27, 2021
51b300a
Delete .idea directory
auriium Apr 27, 2021
088ac9c
remove annotation stuff (for now)
auriium Apr 27, 2021
eae3649
Merge remote-tracking branch 'origin/adapters' into adapters
auriium Apr 27, 2021
cf61edc
fix further pr issues
auriium Apr 27, 2021
e3e5c4d
Merge pull request #2 from Auriium/adapters
auriium Apr 27, 2021
10ca0ba
there is no such thing as an EmptyBlock
auriium Apr 28, 2021
e6eda37
preeedit fixes
auriium May 7, 2021
9e23547
set up basic documentation, modify nodes
auriium May 7, 2021
70c26f6
resolve build errors
auriium May 7, 2021
0dc3c5a
add logo to docs
auriium May 7, 2021
aa4bb68
build success
auriium May 7, 2021
22479f8
Merge pull request #5 from Auriium/fix-block
auriium May 7, 2021
812d41f
Update readme.md
auriium Jun 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v1
with:
java-version: 16
- name: Build with Maven
run: mvn -B package --file pom.xml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.idea/
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/compiler.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/encodings.xml

This file was deleted.

30 changes: 0 additions & 30 deletions .idea/jarRepositories.xml

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/misc.xml

This file was deleted.

124 changes: 0 additions & 124 deletions .idea/uiDesigner.xml

This file was deleted.

File renamed without changes.
75 changes: 75 additions & 0 deletions core-tests/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Branch
~ Copyright © 2021 Aurium
~
~ Branch is free software: you can redistribute it and/or modify
~ It under the terms of the GNU Affero General Public License as
~ published by the Free Software Foundation, either version 3 of the
~ License, or (at your option) any later version.
~
~ Branch is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU Affero General Public License for more details.
~
~ You should have received a copy of the GNU Affero General Public License
~ along with Branch. If not, see <https://www.gnu.org/licenses/>
~ and navigate to version 3 of the GNU Affero General Public License.
~
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>branch</artifactId>
<groupId>me.aurium</groupId>
<version>0.1.0</version>
</parent>

<artifactId>branch-core-tests</artifactId>
<version>0.1.0</version>

<properties>
<maven.compiler.source>${compiler.version}</maven.compiler.source>
<maven.compiler.target>${compiler.version}</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<artifactId>branch-core</artifactId>
<groupId>me.aurium</groupId>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.7.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.0-alpha1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.3.0-alpha5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
<scope>test</scope>
</dependency>

</dependencies>

</project>
27 changes: 27 additions & 0 deletions core-tests/src/main/java/me/aurium/branch/tests/StringAdapter.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
*
* Branch
* Copyright © 2021 Aurium
*
* Branch is free software: you can redistribute it and/or modify
* It under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Branch is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Branch. If not, see <https://www.gnu.org/licenses/>
* and navigate to version 3 of the GNU Affero General Public License.
*
*/

package me.aurium.branch.tests;

import me.aurium.branch.centralized.typeadapter.CommonAdapter;

public class StringAdapter implements CommonAdapter<String> {
}
57 changes: 57 additions & 0 deletions core-tests/src/main/java/me/aurium/branch/tests/StringManager.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
*
* Branch
* Copyright © 2021 Aurium
*
* Branch is free software: you can redistribute it and/or modify
* It under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Branch is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Branch. If not, see <https://www.gnu.org/licenses/>
* and navigate to version 3 of the GNU Affero General Public License.
*
*/

package me.aurium.branch.tests;

import me.aurium.branch.centralized.*;
import me.aurium.branch.centralized.base.NodeBase;
import me.aurium.branch.centralized.base.NodeBaseBuilder;
import me.aurium.branch.centralized.typeadapter.ManagerAdapter;

public class StringManager implements CentralizedManager<String,Void> {

private final static StringAdapter defaultAdapter = new StringAdapter();

@Override
public CentralizedManagerBinder getBinder(Void platform) {
throw new IllegalStateException("StringManager is for tests!");
}

@Override
public NodeSource<String> getSource() {
return null;
}

@Override
public NodeBaseBuilder<String, String> newCommand() {
return new NodeBaseBuilder<>(this,defaultAdapter);
}

@Override
public <C extends String> NodeBaseBuilder<String, C> newCommand(ManagerAdapter<String, C> adapter) {
return new NodeBaseBuilder<>(this,adapter);
}

@Override
public void injectCommand(NodeBase<String> base) {
throw new IllegalStateException("StringManager is for tests!");
}
}
Loading