Jan Böhmer
fb535ec6f7
Added tests for latex formatted units
2025-03-29 12:37:17 +01:00
Treeed
29f92d9bd3
Split attachment paths ( #848 )
...
* fixed attachment statistics for sqlite
* Split attachment path into internal and external path, so the external source URL can be retained after a file is downloaded
* Make internal and external path for attachments nullable, to make clear that they have no internal or external path
* Added migrations for nullable columns for postgres and mysql
* Added migration for nullable internal and external pathes for sqlite
* Added translations
* Fixed upload error
* Restrict length of filename badge in attachment edit view
* Improved margins with badges in attachment edit
* Added a link to view external version from attachment edit
* Let media_url stay in API attachments responses for backward compatibility
---------
Co-authored-by: jona <a@b.c>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2025-02-22 17:29:14 +01:00
Jan Böhmer
235d572f8c
Use DatetimeImmutable instead of DateTime wherever possible
2024-06-22 17:36:54 +02:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02:00
Jan Böhmer
4d7d196a3c
Added some documentation and tests to PartAssociations
2023-11-17 18:36:49 +01:00
Jan Böhmer
f53c98312e
Escape space in attachment URLs with %20
...
Fixes issue #401
2023-10-15 00:50:43 +02:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +02:00
Jan Böhmer
3bc6e61869
Added very basic system to add API tokens to an user
2023-08-15 23:36:56 +02:00
Jan Böhmer
15ba6572df
Try to detect if an external attachment is an image or not.
...
Before we assumed that it is a picture in all cases.
2023-07-29 18:50:18 +02:00
Jan Böhmer
a95ba1acc4
Add a reference to the used info provider to a part
2023-07-16 01:24:49 +02:00
Jan Böhmer
9adfcc7aec
Use an enum for target_type in log entries
2023-06-18 18:31:39 +02:00
Jan Böhmer
2da7463edf
Use a enum for level in LogEntries
2023-06-18 17:25:55 +02:00
Jan Böhmer
6a2ff9d153
Added declare strict types to all files
2023-06-11 18:59:07 +02:00
Jan Böhmer
fcbb1849ec
Applied rectors phpunit 9 migrations to tests
2023-06-11 15:15:55 +02:00
Jan Böhmer
98dc553938
Applied rector to test files
2023-06-11 14:18:53 +02:00
Jan Böhmer
79ab1a2277
Fixed various issues inside the tests
2023-05-28 02:16:40 +02:00
Jan Böhmer
d04d743520
Fixed typos
2023-04-15 23:14:53 +02:00
Jan Böhmer
63df16a369
Removed unused imports
2023-04-15 22:27:19 +02:00
Jan Böhmer
29d1d49aca
Fixed some more inspection issues
2023-04-15 22:05:29 +02:00
Jan Böhmer
1cee1abe00
Fixed some return type deprecation messages
2023-04-15 19:33:39 +02:00
Jan Böhmer
d258235430
Improved naming and documentation of CLIUser functions on AbstractLogEntry
2023-04-08 01:13:13 +02:00
Jan Böhmer
72dab2bc4e
Added tests for CLI user functions on AbstractLogEntry
2023-04-08 01:07:59 +02:00
Jan Böhmer
6230ad971b
Merge branch 'keycloak'
2023-03-04 17:15:50 +01:00
Jan Böhmer
7394a23a83
Fixed infinite loop when an element gets assigned itself as parent
...
This fixes issue #230
2023-03-02 22:55:22 +01:00
Jan Böhmer
99f04d71af
Revert "Moved all user info updating logic into SAMLUserFactory"
...
This reverts commit 960ee342e4
.
2023-02-27 22:28:23 +01:00
Jan Böhmer
960ee342e4
Moved all user info updating logic into SAMLUserFactory
2023-02-24 00:12:44 +01:00
Jan Böhmer
586a57c2c9
Allow X500 attributes for user info and added some tests
2023-02-21 23:41:02 +01:00
Jan Böhmer
25be76b311
Added some tests
2023-01-30 22:42:07 +01:00
Jan Böhmer
7b6a906d98
Renamed "devices" permission to "projects"
2023-01-08 20:10:58 +01:00
Jan Böhmer
0e56f11b6b
Added an mechanism to upgrade permissions schema (manually by calling a program)
2023-01-08 00:15:35 +01:00
Jan Böhmer
0c7ec9f0c7
Added some basic DB fields for the new project system
2022-12-18 20:34:25 +01:00
Jan Böhmer
4b76d991dd
Removed old GPLv2 copyright headers in tests
2022-11-29 22:37:33 +01:00
Jan Böhmer
498cc07583
Added copyright/license info to files
2022-11-29 21:21:26 +01:00
Jan Böhmer
1de88e0494
Added various useful presets for permissions
2022-11-14 00:02:37 +01:00
Jan Böhmer
687ee80255
Save permissions as JSON in user/group entities.
2022-10-30 21:51:24 +01:00
Jan Böhmer
5773073e8d
Fixed unit tests
2022-10-05 22:21:34 +02:00
Jan Böhmer
dd38749081
Fixed test which heavily depended on timing of the assertation functions
...
This caused a lot of false positive test failures.
2022-07-23 23:07:51 +02:00
Jan Böhmer
3021d0d67a
Fixed bug that wrong function was called.
2020-05-31 15:03:27 +02:00
Jan Böhmer
b1db89e3b4
Use BigDecimal for Pricedetail price field.
2020-05-20 22:02:07 +02:00
Jan Böhmer
db4d7dc5fc
Use BigDecimal for Currency exchange rate.
2020-05-20 20:57:16 +02:00
Jan Böhmer
919e40e1a8
Don't add strange looking space in full name if a user does not have an first or last name.
2020-04-08 16:18:53 +02:00
Jan Böhmer
eb9b24d5d7
Fixed inspection issues.
2020-03-29 22:47:25 +02:00
Jan Böhmer
da09873be5
Fixed tests coding style.
2020-03-15 13:57:50 +01:00
Jan Böhmer
bc8748e6f4
Show parameters on info page & improved parameter editing.
2020-03-14 22:12:19 +01:00
Jan Böhmer
84d268aba3
Fixed Travis errors.
2020-03-07 21:36:33 +01:00
Jan Böhmer
9e8771a4ee
Changed license to AGPL3+
2020-02-22 18:14:36 +01:00
Jan Böhmer
743423432e
Mark usernames with @.
2020-02-06 19:27:24 +01:00
Jan Böhmer
d0b3750594
Added an basic table to show log entries.
2020-01-24 22:57:04 +01:00
Jan Böhmer
388e847b17
Applied symplify rules to codebase.
2020-01-05 22:49:00 +01:00
Jan Böhmer
fe0f69f762
Applied code style to tests/
2020-01-05 15:55:16 +01:00