Commit 3252747
GH-137 Refactor project
* begin refactor
* extract interfaces
* Update SentParcelsGui.java
* Rename UserService back to UserManager
* add new lines
* Change config library from CDN to Okaeri configs, remove Sentry
* Remove debug mode
* Finish general refactor
* update gradle config
* continue refactoring
* ItemBuilder -> PaperItemBuilder
* ItemBuilder -> PaperItemBuilder
* Refactor
* Refactor GUI buttons
* Continue refactor
* Refactor GUI dependencies
* continue refactoring services, isolate repositories
* more refactoring...
* change persister type class
* Simplify ReceiverGui
* fix gui issues
* Beautify GUI classes
* Beautify configs, delete unnecessary tests
* find -> fetch, fix improper item type set in config
* fix gui stuff and immutable list supplying
* shifting items fix attempt
* shifting works but only in a certain order. atomic counter still does not work
* Fix shifting and refreshing
* Simplify PlaceholderUtil and CollectionGui through CompletableFutures
* Use CompletableFutures from spotify where applicable, clarify some comments
* Simplify .gitignore and .gitattributes
* change annotations, use expiring cache
* remove unused InventoryUtil#shiftItems method
* delete unnecessary comment
* better empty PageResult handling
* Update src/main/java/com/eternalcode/parcellockers/parcel/util/PlaceholderUtil.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/main/java/com/eternalcode/parcellockers/user/repository/UserRepositoryOrmLite.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix potential CME
* fix build
* fix build
* move cache initialization to constructor
* Add Validation classes and architecture (suggestion from @noyzys)
* Implement validation
* Use CompletableFuture in Service/Manager-like classes
* Cache object after the cache is initialized
* ParcelStatus.PENDING -> IN_PROGRESS
* Add static import for AdventureUtil.resetItalic
* Delete unused transformers, change command route
* Add ItemStorage gui preview
* Add validation for users, more nullchecks in SendingGui and SendingGuiState, add comment to LoadUserController, improve CollectionGui empty result handling
* adjust to AI requested changes
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 7ce8a2d commit 3252747
File tree
118 files changed
+4235
-3908
lines changed- .github/workflows
- src
- main/java/com/eternalcode/parcellockers
- command
- debug
- handler
- configuration
- composer
- implementation
- serializable
- content
- repository
- conversation
- database
- persister
- wrapper
- delivery
- repository
- gui
- implementation
- locker
- remote
- itemstorage
- repository
- locker
- argument
- controller
- prompt
- repository
- validation
- notification
- parcel
- command
- argument
- repository
- task
- util
- updater
- user
- controller
- repository
- validation
- util
- test/java/com/eternalcode/parcellockers
- configuration/composer
- database
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
118 files changed
+4235
-3908
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
6 | 6 | | |
7 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
33 | | - | |
| 31 | + | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
| 35 | + | |
38 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 9 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
20 | 16 | | |
21 | 17 | | |
| 18 | + | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
31 | 26 | | |
32 | 27 | | |
33 | | - | |
| 28 | + | |
34 | 29 | | |
35 | 30 | | |
36 | | - | |
37 | | - | |
| 31 | + | |
| 32 | + | |
38 | 33 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
44 | 38 | | |
45 | 39 | | |
46 | | - | |
| 40 | + | |
47 | 41 | | |
48 | 42 | | |
49 | 43 | | |
50 | | - | |
51 | 44 | | |
52 | 45 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
57 | 50 | | |
58 | 51 | | |
59 | 52 | | |
60 | 53 | | |
61 | 54 | | |
62 | 55 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 56 | + | |
70 | 57 | | |
71 | 58 | | |
72 | | - | |
| 59 | + | |
73 | 60 | | |
74 | 61 | | |
75 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
76 | 68 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
80 | 72 | | |
81 | 73 | | |
82 | | - | |
| 74 | + | |
83 | 75 | | |
84 | 76 | | |
85 | 77 | | |
| |||
89 | 81 | | |
90 | 82 | | |
91 | 83 | | |
| 84 | + | |
92 | 85 | | |
93 | 86 | | |
94 | 87 | | |
95 | 88 | | |
96 | 89 | | |
97 | 90 | | |
98 | | - | |
| 91 | + | |
| 92 | + | |
99 | 93 | | |
100 | | - | |
101 | | - | |
| 94 | + | |
| 95 | + | |
102 | 96 | | |
103 | | - | |
104 | | - | |
105 | 97 | | |
106 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
107 | 101 | | |
108 | 102 | | |
109 | 103 | | |
| |||
115 | 109 | | |
116 | 110 | | |
117 | 111 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 112 | + | |
| 113 | + | |
126 | 114 | | |
127 | 115 | | |
128 | 116 | | |
| |||
135 | 123 | | |
136 | 124 | | |
137 | 125 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 126 | + | |
142 | 127 | | |
143 | 128 | | |
144 | 129 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | 130 | | |
149 | 131 | | |
150 | 132 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 133 | + | |
169 | 134 | | |
170 | 135 | | |
171 | 136 | | |
172 | | - | |
173 | | - | |
174 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | | - | |
5 | 2 | | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
0 commit comments