Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mgc remove #223

Closed
wants to merge 351 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
351 commits
Select commit Hold shift + click to select a range
11e2816
Migration stuff in progress...
kreinhard Sep 16, 2024
e3a9252
Migration stuff in progress...
kreinhard Sep 16, 2024
ca4cb86
Migration stuff in progress...
kreinhard Sep 17, 2024
eb4e16a
Migration stuff in progress...
kreinhard Sep 19, 2024
010c498
Migration stuff in progress...
kreinhard Sep 19, 2024
16d9c98
Migration stuff in progress...
kreinhard Sep 19, 2024
922f5f5
Migration stuff in progress...
kreinhard Sep 19, 2024
c077894
Migration stuff in progress...
kreinhard Sep 19, 2024
0b32a3f
Migration stuff in progress...
kreinhard Sep 20, 2024
4b8dc7c
Migration stuff in progress...
kreinhard Sep 20, 2024
bfa375e
Migration stuff in progress...
kreinhard Sep 20, 2024
2213610
Migration stuff in progress...
kreinhard Sep 21, 2024
f59810c
Migration stuff in progress...
kreinhard Sep 21, 2024
073f3ae
Migration stuff in progress...
kreinhard Sep 21, 2024
baafa70
Migration stuff in progress...
kreinhard Sep 22, 2024
e84e723
Migration stuff in progress...
kreinhard Sep 22, 2024
c234f86
Migration stuff in progress...
kreinhard Sep 22, 2024
fb22635
Migration stuff in progress...
kreinhard Sep 22, 2024
b095e6f
!!!!! Big change of Transaction handling: Re-uses PfPersistenceContex…
kreinhard Oct 1, 2024
108ecf6
!!!!! Big change of Transaction handling: Re-uses PfPersistenceContex…
kreinhard Oct 1, 2024
2e8d776
PfPersistenceService re-uses PfPersistenceContext (readonly and with …
kreinhard Oct 2, 2024
6be167d
Migration stuff in progress...
kreinhard Oct 2, 2024
c2e2c34
EntityManagerUtil, PfPersistenceService and PfPersistenceContext refa…
kreinhard Oct 2, 2024
1135ccb
Persistence: functions renamed: *NewTrans -> *InTrans
kreinhard Oct 2, 2024
daab348
Migration stuff in progress...
kreinhard Oct 2, 2024
e01e3f5
Migration stuff in progress...
kreinhard Oct 3, 2024
3ba7a5f
Migration stuff in progress...
kreinhard Oct 3, 2024
9013a52
Migration stuff in progress...
kreinhard Oct 3, 2024
b658a10
Migration stuff in progress...
kreinhard Oct 3, 2024
baf131d
Migration stuff in progress...
kreinhard Oct 3, 2024
1458288
Migration stuff in progress...
kreinhard Oct 3, 2024
ce615bf
Migration stuff in progress...
kreinhard Oct 3, 2024
fa97303
HistoryEntry is now longer generic, is now IdObject<Long>.
kreinhard Oct 3, 2024
c3c3ba6
DisplayHistoryEntry: new concept in progress...
kreinhard Oct 3, 2024
3347f3b
DisplayHistoryEntry: new concept in progress...
kreinhard Oct 3, 2024
825a613
Migration stuff in progress...
kreinhard Oct 3, 2024
68688c1
DisplayHistoryEntry: new concept in progress...
kreinhard Oct 3, 2024
b04a74f
DisplayHistoryEntry: new concept in progress...
kreinhard Oct 3, 2024
f8e614f
DisplayHistoryEntry: new concept in progress...
kreinhard Oct 3, 2024
6b908c6
Migration stuff in progress...
kreinhard Oct 3, 2024
efb1954
Migration stuff in progress...
kreinhard Oct 4, 2024
48d78b6
AbstractTestBase -> Kotlin
kreinhard Oct 4, 2024
f7f5ad4
UserPrefDao -> Kotlin.
kreinhard Oct 4, 2024
384da53
Migration stuff in progress...
kreinhard Oct 4, 2024
543a29d
Migration stuff in progress...
kreinhard Oct 4, 2024
31f4ea8
ical4j version reverted to version 3.2.2. Version 3.2.19 doesn't work…
kreinhard Oct 4, 2024
9de3436
Migration stuff in progress...
kreinhard Oct 4, 2024
eb03caf
candh package moved.
kreinhard Oct 4, 2024
efee0de
Migration stuff in progress...
kreinhard Oct 4, 2024
1607490
Migration stuff in progress...
kreinhard Oct 4, 2024
6a9ba03
Minor improvments in PFDateTimeUtils (regex as field), Companion in P…
kreinhard Oct 4, 2024
a4008cd
Migration stuff in progress...
kreinhard Oct 4, 2024
d17d1c8
Migration stuff in progress...
kreinhard Oct 4, 2024
b2d1923
Migration stuff in progress...
kreinhard Oct 4, 2024
b44fd93
Migration stuff in progress...
kreinhard Oct 5, 2024
6934780
CandHMaster.copyValues with type Base<*> instead of Base<IdType>
kreinhard Oct 5, 2024
3634173
TestSetup initializes now Bundename for i18n.
kreinhard Oct 5, 2024
6b6a77e
Migration stuff in progress...
kreinhard Oct 5, 2024
b60319f
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 5, 2024
9829dc7
TestSetup initialized test version of Configuration.
kreinhard Oct 5, 2024
e801b03
Migration stuff in progress...
kreinhard Oct 5, 2024
2450b67
Migration stuff in progress...
kreinhard Oct 5, 2024
5f5f257
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 5, 2024
1e47d0f
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 5, 2024
140c38e
Migration stuff in progress...
kreinhard Oct 5, 2024
67a6647
Migration stuff in progress...
kreinhard Oct 5, 2024
a582dad
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 5, 2024
77e1266
Migration stuff in progress...
kreinhard Oct 5, 2024
85b4e11
PfPersistenceService and PfPersistenceContext: query renamed to execu…
kreinhard Oct 5, 2024
29892fd
Migration stuff in progress...
kreinhard Oct 5, 2024
88d975d
Migration stuff in progress...
kreinhard Oct 6, 2024
fee3ec6
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 6, 2024
3a438a2
Migration stuff in progress...
kreinhard Oct 6, 2024
1ddff3f
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 6, 2024
a155fe3
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 6, 2024
ef17282
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 6, 2024
68be78d
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 6, 2024
7a748fd
Migration stuff in progress...
kreinhard Oct 6, 2024
9e30522
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 6, 2024
891fae3
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 6, 2024
93cba94
Migration stuff in progress...
kreinhard Oct 7, 2024
d6cc828
Migration stuff in progress...
kreinhard Oct 7, 2024
cb03dc7
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 7, 2024
207843b
Migration stuff in progress...
kreinhard Oct 7, 2024
e460a1c
<meta name="google" content="notranslate">
kreinhard Oct 7, 2024
b09f9a6
Migration stuff in progress...
kreinhard Oct 8, 2024
67805f2
ThreadLocalUserContext.user -> ThreadLocalUserContext.loggedInUser (r…
kreinhard Oct 8, 2024
8c0b82f
Unused imports removed.
kreinhard Oct 8, 2024
1207e9f
Migration stuff in progress...
kreinhard Oct 8, 2024
435a8b0
Migration stuff in progress...
kreinhard Oct 8, 2024
dd3632b
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 8, 2024
0ca1bdc
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 8, 2024
4d8aa84
Migration stuff in progress...
kreinhard Oct 8, 2024
16b6494
Migration stuff in progress...
kreinhard Oct 9, 2024
513da92
Migration stuff in progress...
kreinhard Oct 9, 2024
b90249e
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 9, 2024
fa194d7
Migration stuff in progress...
kreinhard Oct 10, 2024
ad91ccf
Migration stuff in progress...
kreinhard Oct 10, 2024
2fd83d9
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 10, 2024
42be9b4
Migration stuff in progress...
kreinhard Oct 11, 2024
e4f9ca1
Migration stuff in progress...
kreinhard Oct 11, 2024
3941738
Migration stuff in progress...
kreinhard Oct 11, 2024
c8f8ed9
Declared all entities as FetchType.LAZY (was EAGER).
kreinhard Oct 12, 2024
f88994f
Migration stuff in progress...
kreinhard Oct 12, 2024
898170e
Migration stuff in progress...
kreinhard Oct 12, 2024
e66d5f5
Migration stuff in progress... TaskTree -> Kotlin and runs now in iso…
kreinhard Oct 12, 2024
1149aea
Migration stuff in progress... PfPersistenceContextThreadLocal refact…
kreinhard Oct 13, 2024
2d2f606
Migration stuff in progress...
kreinhard Oct 13, 2024
c7b6e72
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 13, 2024
1564553
Migration stuff in progress...
kreinhard Oct 13, 2024
3aeda5e
Big change: all save|update|...InTrans renamed (InTrans removed). PfP…
kreinhard Oct 13, 2024
b1a4bf2
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 13, 2024
a6edf51
Migration stuff in progress... PersistenceThreadLocalStats
kreinhard Oct 14, 2024
a72903e
*.java, *.kt: StringBuffer -> StringBuilder.
kreinhard Oct 14, 2024
9408b59
Migration stuff in progress...
kreinhard Oct 14, 2024
88f5b5b
Migration stuff in progress...
kreinhard Oct 14, 2024
1faf308
Migration stuff in progress...
kreinhard Oct 14, 2024
87aaf6a
Migration stuff in progress... BaseDao refactored (not yet finished) …
kreinhard Oct 15, 2024
2a8ea20
Migration stuff in progress... BaseDao refactored (not yet finished) …
kreinhard Oct 15, 2024
1b50060
BaseDao: renamed: get -> find, save -> insert, getList -> select, loa…
kreinhard Oct 15, 2024
5989b32
BaseDao: mechanism of onChangeLister refactored.
kreinhard Oct 16, 2024
1ff3f1b
Migration stuff in progress...
kreinhard Oct 16, 2024
a271422
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 16, 2024
6f7e0fb
Migration stuff in progress...
kreinhard Oct 16, 2024
e3fe7c4
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 16, 2024
9cbb4c5
Migration stuff in progress...
kreinhard Oct 16, 2024
d67bce1
Migration stuff in progress...
kreinhard Oct 16, 2024
0a027a0
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 16, 2024
b79a1ed
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 18, 2024
84e8636
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 19, 2024
6f482cb
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 19, 2024
66ec668
Migration stuff in progress...
kreinhard Oct 20, 2024
e26e096
CORSFilter (doesn't work)
kreinhard Oct 20, 2024
9e38d3c
Migration stuff in progress...
kreinhard Oct 20, 2024
d6ad9ea
Migration stuff in progress...
kreinhard Oct 21, 2024
1204b92
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 21, 2024
cba9403
Migration stuff in progress...
kreinhard Oct 21, 2024
e80642c
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 21, 2024
4b9ffbe
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 22, 2024
746304c
Migration stuff in progress...
kreinhard Oct 22, 2024
09fee4f
Migration stuff in progress...
kreinhard Oct 22, 2024
511d2c1
implement close modal action in form modal instead of url replacement
finreinhard Oct 22, 2024
ac2dbb2
Migration stuff in progress...
kreinhard Oct 22, 2024
592c213
Using now CorsFilter of Spring (own implementation removed).
kreinhard Oct 22, 2024
8bd78b1
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 22, 2024
d18c899
Refactoring of history entries, FlatDisplayHistoryEntries and Display…
kreinhard Oct 23, 2024
0166996
Migration stuff in progress...
kreinhard Oct 23, 2024
f189d34
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 23, 2024
6aca644
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 23, 2024
38e376a
Merge commit 'f8c97b8b3d20fa403a197a5c4b4b5ca3c3bc825d' into mgc-remove
kreinhard Oct 23, 2024
f408da8
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 23, 2024
55972f3
Migration stuff in progress...
kreinhard Oct 23, 2024
c97135a
Migration stuff in progress...
kreinhard Oct 24, 2024
9e3c523
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 25, 2024
b56ebe3
PersistenceCallsStats added (all tests OK).
kreinhard Oct 25, 2024
87dd5b8
AuftragsCache refactored, migration stuff... (all tests OK)
kreinhard Oct 25, 2024
5d21fde
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 25, 2024
bf34e42
Migration stuff in progress...
kreinhard Oct 25, 2024
6c6f888
Migration stuff in progress...
kreinhard Oct 25, 2024
c14b18a
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 26, 2024
b0efadd
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 26, 2024
b5dc26e
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 26, 2024
1e8b61f
Migration stuff in progress... dynamicLayout.layoutBelowActions (belo…
kreinhard Oct 27, 2024
9afeb4b
UserXmlPreferencesDao/Cache: saved a lot of db calls.
kreinhard Oct 27, 2024
2bf1323
Migration stuff in progress...
kreinhard Oct 27, 2024
4d58829
UserPrefCache and UserXmlPreferencesCache refactored.
kreinhard Oct 27, 2024
011000f
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 28, 2024
f7d7ff8
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 28, 2024
8110413
Migration stuff in progress...
kreinhard Oct 28, 2024
a33f8f2
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 28, 2024
742687f
Migration stuff in progress...
kreinhard Oct 28, 2024
7bc8f49
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 28, 2024
41b5c26
Migration stuff in progress...
kreinhard Oct 29, 2024
ccb7ca6
Migration stuff in progress...
kreinhard Oct 29, 2024
b47c21a
Refactored caching and calculations with invoices (not yet finished)
kreinhard Oct 30, 2024
ae50b25
BeanHelper.getProperty supports now nested properties by simply using…
kreinhard Oct 30, 2024
b3293f0
PersistenceService/Context: stats handling improved.
kreinhard Oct 30, 2024
0ceceb2
All cache refreshs are now running in isolated transactions or contexts.
kreinhard Oct 30, 2024
ba24795
Migration stuff in progress...
kreinhard Oct 30, 2024
973fbf5
Migration stuff in progress...
kreinhard Oct 30, 2024
6949876
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Oct 30, 2024
43453fc
Migration stuff in progress...
kreinhard Oct 31, 2024
4000abf
Migration stuff in progress...
kreinhard Oct 31, 2024
314408e
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 1, 2024
b5ffb7c
Migration stuff in progress...
kreinhard Nov 1, 2024
e74d365
Migration stuff in progress...
kreinhard Nov 1, 2024
e964bec
Migration stuff in progress...
kreinhard Nov 1, 2024
7798dac
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 1, 2024
61f05ce
Migration stuff in progress...
kreinhard Nov 2, 2024
4c8365b
Kotlin scripting refactored (All tests OK)
kreinhard Nov 2, 2024
8efd507
Migration stuff in progress...
kreinhard Nov 2, 2024
b896257
Migration stuff in progress...
kreinhard Nov 2, 2024
2e98398
Migration stuff in progress...
kreinhard Nov 3, 2024
190c0ae
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 3, 2024
3264694
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 3, 2024
cb5cd5d
Migration stuff in progress...
kreinhard Nov 3, 2024
55a30ee
New version 7.5.0-SNAPSHOT
kreinhard Nov 3, 2024
eafcb33
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 4, 2024
3785f83
Migration stuff in progress...
kreinhard Nov 4, 2024
f928d12
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 4, 2024
3c42485
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 4, 2024
f093272
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 4, 2024
4bc37b3
Migration stuff in progress...
kreinhard Nov 4, 2024
bbc198d
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 5, 2024
1012e34
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 6, 2024
ffb18cf
Migration stuff in progress...
kreinhard Nov 6, 2024
0f76498
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 6, 2024
b71b507
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 6, 2024
50f788c
Migration stuff in progress...
kreinhard Nov 6, 2024
f570f0e
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 7, 2024
c5aec37
Migration stuff in progress...
kreinhard Nov 8, 2024
d83512e
Migration stuff in progress...
kreinhard Nov 8, 2024
f31e806
Migration stuff in progress...
kreinhard Nov 8, 2024
e962025
Migration stuff in progress...
kreinhard Nov 8, 2024
2e0e9d9
ehcache configured, but doesn't work :-(
kreinhard Nov 8, 2024
1e18ea2
ehcache removed :-(
kreinhard Nov 8, 2024
184f154
Migration stuff in progress...
kreinhard Nov 8, 2024
567ca70
Migration in progress... spring.datasource.hikari.auto-commit=false
kreinhard Nov 9, 2024
7144520
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 9, 2024
ff2cc4c
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 9, 2024
b810d1c
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 9, 2024
12610fe
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 9, 2024
3159cfa
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 10, 2024
d02c8a7
Migration stuff in progress...
kreinhard Nov 10, 2024
3f25c77
Migration stuff in progress...
kreinhard Nov 10, 2024
e24d352
Migration stuff in progress...
kreinhard Nov 10, 2024
89ea9a5
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 10, 2024
6995a94
Migration stuff in progress...
kreinhard Nov 10, 2024
b9fb901
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 10, 2024
9aff909
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 10, 2024
ae2c04e
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 10, 2024
c7e47b6
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 11, 2024
372cb00
Migration stuff in progress...
kreinhard Nov 11, 2024
796d200
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 11, 2024
50c9d61
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 11, 2024
e7ea878
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 11, 2024
9eca40c
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 11, 2024
d394f41
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 11, 2024
4942c85
Migration stuff in progress...
kreinhard Nov 12, 2024
e80cfaa
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 12, 2024
313bed1
Merge remote-tracking branch 'origin/master' into mgc-remove
kreinhard Nov 12, 2024
cf00da1
Migration stuff in progress...
kreinhard Nov 13, 2024
7957637
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 13, 2024
b3782c8
Migration stuff in progress...
kreinhard Nov 13, 2024
50c3b7b
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 14, 2024
ddf0292
Migration stuff in progress...
kreinhard Nov 14, 2024
caea043
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 14, 2024
4a2b8b9
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 14, 2024
e153924
Migration stuff in progress... (all tests of all packages: OK).
kreinhard Nov 14, 2024
538543f
Merge branch 'develop' into mgc-remove
kreinhard Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
100 changes: 100 additions & 0 deletions Migration-ToDo.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
Aktuell:
- Fehlerhinweis, wenn halber Tag für Urlaubsanfang/ende gewählt wird, es aber kein Arbeitstag ist.
- Scripts

- remove all BaseDO.xxxId (lazy fetch) and replace callee by baseDO?.id
- Entitygraphen nutzen: ConflictVacationCache, AuftragCache etc.
- Auftrag editieren: massenhaft SQLs
- employeeSalaryList: lädt wie blöde nach dem Editieren. (Excel-Exports auch zuviele SQLs)
- AddressKampagnen: ebd. (massenhaft SQLs)
- Suche nach Kontonummer in KontoDO

- Lazy-Breakpoint: AbstractLazyInitializer.initialize (#170)
org.hibernate.persister.entity.AbstractEntityPersister#generateSelectLazy:

postrgesql.conf:
log_lock_waits = on
deadlock_timeout = '500ms'
log_min_duration_statement = 1000 # Optional: loggt Abfragen, die länger als 1 Sekunde dauern

History
- Positionen etc. vernünftig anzeigen.

- Suche:
- Suche in History
- Suche nach K+S (aktuell noch Provisorium)
- HistoryConvertContext: Am Ende alle displayProperties übernehmen.

- ProjektEdit: History enthält keine neuen Kost2DOs/Arten (Einträge sind aber da).
- CronReindexingHourlyJob ohne Effekt.
- Protokoll einsehen: http://localhost:8080/react/logViewer/dynamic/1
- Reindizierung der letzten n einträge nicht migriert (sinnvoll?).
- history-entries bei EmployeeValidityAttrDO nichtssagend.
- HistoryEntry: EmployeeValidityAttrDO.insert muss sinnvoll für Anzeige formatiert werden.
- Cascade aller Entitäten prüfen (z. B. war GroupTaskAccessDO.task auf Merged!!!!) Abgleich mit autoUpdateCollectionEntries (evtl. kann auf autoUpdateCollectionEntries verzichtet werden, zumindest aber Sanity-Check in CandH.)
- PFHistoryMasterDO: Indexe setzen, wenn Einträge wieder gehen.
- XML-Import für Testsystem
- TypeBinding: ProjektDO, Kost1DO, Kost2DO, ...: Add path to list of searchable items
- @WithHistory: AuftragDO, TeamEventDO
- UserRights zu Benutzer hinzufügen testen (Reihenfolge update/save wichtig)
- ICalGeneratorParserTest
- UserRightId: ClassBridge müsste eigentlich in die Felder der benutzenden DOs
- Script-Parameter: intValue ist nun long!?
- StringHelper: splitToLongs/LongObjects OK?
- SetupPage testen
- reindexing settings implementieren. Aktuell wird nur komplett gemass-indexed.
- History of AddressCampaignValueDO's (AddressCampaignValueDao.convertToDisplayHistoryEntries removed)

Später
- Hibernate-Search: K+S etc.
- Milton
- Besuchsbuch und EmployeeValidSinceAttr: DisplayEntries von Besuchtagen mit Datum des Besuchs versehen.
- Suche-Seite hat veraltete Bereiche, AddressListPage läuft auf Fehler.
- OrderExport: paymentSchedules werden gefetcht.
- Update caches after single load or modification.

Ganz später
- Kalenderlist ruft x-fach DB: FIND GroupDO resultClass=GroupDO auf.

- pom.xml:
Some problems were encountered while building the effective model for org.projectforge:projectforge-business:jar:7.5.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework.boot:spring-boot-starter-cache:jar -> version (?) vs ${spring.boot.version} @ line 188, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

Migration employee timed attrs:
select a.createdat, a.createdby, a.modifiedat, a.modifiedby, a.start_time, a.end_time, a.employee_id, a.group_name, b.value, b.propertyname, b.createdby, b.createdat, b.modifiedby, b.modifiedat from t_fibu_employee_timed a JOIN t_fibu_employee_timedattr b ON a.pk=b.parent;

employeestatus
employeeannualleave

- Produktion:
# In postgresql.conf (Neustart der Datenbank erforderlich)
lock_timeout = '300s' # 5 minutes timeout for locks.
statement_timeout = '300s' # 5 minutes timeout for SQL-commands.


Rollback:
update t_configuration set configurationtype='INTEGER' where configurationtype='LONG';
ALTER TABLE t_configuration RENAME COLUMN longvalue TO intvalue;

Folgendes muss nur gemacht werden, bevor die Version 8.0 erneut installiert wird (die alte Version 7.5.1 läuft auch ohne diese Änderungen):
DELETE FROM t_flyway_schema_version WHERE installed_rank >= 43;
ALTER TABLE t_pf_history_attr DROP COLUMN old_value;
ALTER TABLE t_pf_history_attr DROP COLUMN optype;
DROP TABLE t_orga_visitorbook_entry;
DROP TABLE t_fibu_employee_valid_since_attr;




Scripts:
Faktura-Quote nach KJ/GJ
- import java.util.Objects
- 114: EmployeeCache.instance.getEmployeeByUserId
- 37: data class User(val id: Long?, val username: String, val name: String, val firstName: String) : Comparable<User> {
- 266: var useYear = jahr?.toInt() ?: LocalDate.now().year
-

2 changes: 1 addition & 1 deletion doc/deployment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Micromata GmbH, Version {version}
:toc:
:toclevels: 4

:last-update-label: Copyright (C) 2021, Last updated
:last-update-label: Copyright (C) 2024, Last updated

ifdef::env-github,env-browser[:outfilesuffix: .adoc]
link:index{outfilesuffix}[Top]
Expand Down
2 changes: 1 addition & 1 deletion plugins/org.projectforge.plugins.banking/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.projectforge</groupId>
<artifactId>org.projectforge.plugins</artifactId>
<version>7.5.1-SNAPSHOT</version><!-- projectforge.version -->
<version>8.0.0-SNAPSHOT</version><!-- projectforge.version -->
</parent>
<artifactId>org.projectforge.plugins.banking</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ package org.projectforge.rest.dto
import org.projectforge.plugins.banking.BankAccountDO

class BankAccount(
id: Int? = null,
id: Long? = null,
var name: String? = null,
var description: String? = null,
var iban: String? = null,
Expand Down Expand Up @@ -55,11 +55,11 @@ class BankAccount(
// The user and group ids are stored as csv list of integers in the data base.
override fun copyTo(dest: BankAccountDO) {
super.copyTo(dest)
dest.fullAccessGroupIds = Group.toIntList(fullAccessGroups)
dest.fullAccessUserIds = User.toIntList(fullAccessUsers)
dest.readonlyAccessGroupIds = Group.toIntList(readonlyAccessGroups)
dest.readonlyAccessUserIds = User.toIntList(readonlyAccessUsers)
dest.minimalAccessGroupIds = Group.toIntList(minimalAccessGroups)
dest.minimalAccessUserIds = User.toIntList(minimalAccessUsers)
dest.fullAccessGroupIds = Group.toLongList(fullAccessGroups)
dest.fullAccessUserIds = User.toLongList(fullAccessUsers)
dest.readonlyAccessGroupIds = Group.toLongList(readonlyAccessGroups)
dest.readonlyAccessUserIds = User.toLongList(readonlyAccessUsers)
dest.minimalAccessGroupIds = Group.toLongList(minimalAccessGroups)
dest.minimalAccessUserIds = User.toLongList(minimalAccessUsers)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,58 +23,54 @@

package org.projectforge.plugins.banking

import org.apache.commons.codec.digest.DigestUtils
import org.hibernate.search.annotations.Analyze
import org.hibernate.search.annotations.Field
import org.hibernate.search.annotations.Indexed
import org.hibernate.search.annotations.IndexedEmbedded
import jakarta.persistence.*
import org.hibernate.search.mapper.pojo.automaticindexing.ReindexOnUpdate
import org.hibernate.search.mapper.pojo.mapping.definition.annotation.*
import org.projectforge.Constants
import org.projectforge.common.StringHelper
import org.projectforge.common.anots.PropertyInfo
import org.projectforge.common.props.PropertyType
import org.projectforge.framework.persistence.entities.DefaultBaseDO
import org.projectforge.framework.time.PFDay
import java.math.BigDecimal
import java.time.LocalDate
import javax.persistence.*

/**
* @author Kai Reinhard ([email protected])
*/
@Entity
@Indexed
@Table(
name = "T_PLUGIN_BANKING_ACCOUNT_BALANCE",
name = "T_PLUGIN_BANKING_ACCOUNT_BALANCE",
)
@NamedQueries(
NamedQuery(
name = BankAccountBalanceDO.FIND_BY_BANK_ACCOUNT,
query = "from BankAccountBalanceDO where bankAccount.id=:bankAccountId"
),
NamedQuery(
name = BankAccountBalanceDO.FIND_BY_BANK_ACCOUNT,
query = "from BankAccountBalanceDO where bankAccount.id=:bankAccountId"
),
)
open class BankAccountBalanceDO : DefaultBaseDO() {
@PropertyInfo(i18nKey = "plugins.banking.account")
@IndexedEmbedded(depth = 1)
@get:ManyToOne(fetch = FetchType.LAZY)
@get:JoinColumn(name = "banking_account_fk", nullable = false)
open var bankAccount: BankAccountDO? = null
@PropertyInfo(i18nKey = "plugins.banking.account")
@IndexedEmbedded(includeDepth = 1)
@IndexingDependency(reindexOnUpdate = ReindexOnUpdate.SHALLOW)
@get:ManyToOne(fetch = FetchType.LAZY)
@get:JoinColumn(name = "banking_account_fk", nullable = false)
open var bankAccount: BankAccountDO? = null

@PropertyInfo(i18nKey = "plugins.banking.account.record.amount", type = PropertyType.CURRENCY)
@get:Column(name = "amount", scale = 2, precision = 12)
open var amount: BigDecimal? = null
@PropertyInfo(i18nKey = "plugins.banking.account.record.amount", type = PropertyType.CURRENCY)
@get:Column(name = "amount", scale = 2, precision = 12)
open var amount: BigDecimal? = null

@PropertyInfo(i18nKey = "plugins.banking.account.record.date")
@Field(analyze = Analyze.NO)
@get:Column(name = "date_col")
open var date: LocalDate? = null
@PropertyInfo(i18nKey = "plugins.banking.account.record.date")
@GenericField
@get:Column(name = "date_col")
open var date: LocalDate? = null

@PropertyInfo(i18nKey = "comment")
@Field
@get:Column(length = Constants.LENGTH_TEXT)
open var comment: String? = null
@PropertyInfo(i18nKey = "comment")
@FullTextField
@get:Column(length = Constants.LENGTH_TEXT)
open var comment: String? = null

companion object {
const val FIND_BY_BANK_ACCOUNT = "BankAccountBalanceDO_FindByBankAccount"
companion object {
const val FIND_BY_BANK_ACCOUNT = "BankAccountBalanceDO_FindByBankAccount"

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,59 +27,58 @@ import mu.KotlinLogging
import org.projectforge.business.user.ProjectForgeGroup
import org.projectforge.framework.access.OperationType
import org.projectforge.framework.persistence.api.BaseDao
import org.projectforge.framework.persistence.api.BaseDaoSupport
import org.projectforge.framework.persistence.api.BaseDOPersistenceService
import org.projectforge.framework.persistence.user.entities.PFUserDO
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Repository
import org.springframework.transaction.annotation.Propagation
import org.springframework.transaction.annotation.Transactional
import org.springframework.stereotype.Service

private val log = KotlinLogging.logger {}

@Repository
open class BankAccountBalanceDao : BaseDao<BankAccountBalanceDO>(BankAccountBalanceDO::class.java) {
@Autowired
private lateinit var bankAccountDao: BankAccountDao
@Service
class BankAccountBalanceDao : BaseDao<BankAccountBalanceDO>(BankAccountBalanceDO::class.java) {
@Autowired
private lateinit var bankAccountDao: BankAccountDao

override fun hasAccess(
user: PFUserDO,
obj: BankAccountBalanceDO?,
oldObj: BankAccountBalanceDO?,
operationType: OperationType,
throwException: Boolean
): Boolean {
val bankAccount = obj?.bankAccount
if (obj != null && bankAccount == null) {
return BaseDaoSupport.returnFalseOrThrowException(
throwException,
user,
operationType,
msg = "Bank account not given.",
)
override fun hasAccess(
user: PFUserDO,
obj: BankAccountBalanceDO?,
oldObj: BankAccountBalanceDO?,
operationType: OperationType,
throwException: Boolean
): Boolean {
val bankAccount = obj?.bankAccount
if (obj != null && bankAccount == null) {
return BaseDOPersistenceService.returnFalseOrThrowException(
throwException,
user,
operationType,
msg = "Bank account not given.",
)
}
if (!accessChecker.isLoggedInUserMemberOfGroup(ProjectForgeGroup.FINANCE_GROUP)) {
// Double check, user isn't member of financial staff.
return BaseDOPersistenceService.returnFalseOrThrowException(
throwException,
user,
operationType,
msg = "User not member of financial staff.",
)
}
val oldBankAccount = oldObj?.bankAccount
return bankAccountDao.hasAccess(user, bankAccount, oldBankAccount, operationType, throwException)
}
if (!accessChecker.isLoggedInUserMemberOfGroup(ProjectForgeGroup.FINANCE_GROUP)) {
// Double check, user isn't member of financial staff.
return BaseDaoSupport.returnFalseOrThrowException(
throwException,
user,
operationType,
msg = "User not member of financial staff.",
)
}
val oldBankAccount = oldObj?.bankAccount
return bankAccountDao.hasAccess(user, bankAccount, oldBankAccount, operationType, throwException)
}

override fun newInstance(): BankAccountBalanceDO {
return BankAccountBalanceDO()
}
override fun newInstance(): BankAccountBalanceDO {
return BankAccountBalanceDO()
}

@Transactional(propagation = Propagation.NOT_SUPPORTED)
open fun getByTimePeriod(accountId: Int): List<BankAccountBalanceDO> {
val account = bankAccountDao.getById(accountId) // For access checking
log.info("Getting Balances of account '${account.name}', IBAN=${account.iban}")
return em.createNamedQuery(BankAccountBalanceDO.FIND_BY_BANK_ACCOUNT, BankAccountBalanceDO::class.java)
.setParameter("bankAccountId", accountId)
.resultList
}
fun getByTimePeriod(accountId: Int): List<BankAccountBalanceDO> {
val account = bankAccountDao.find(accountId)!! // For access checking
log.info("Getting Balances of account '${account.name}', IBAN=${account.iban}")
return persistenceService.executeNamedQuery(
BankAccountBalanceDO.FIND_BY_BANK_ACCOUNT,
BankAccountBalanceDO::class.java,
Pair("bankAccountId", accountId),
)
}
}
Loading
Loading