7fe2cdf28c
apply #670 and manually cleanup afterwards
...
fixes some failing tests
uses sexplode over array_pad
reformats multiline arrays
2023-09-13 13:28:04 +02:00
7234bfb14e
🤖 Automatic code style fixes
2023-09-13 09:45:56 +00:00
6c9d1a10af
Rename internal schemas to "internal"
2022-09-21 16:45:19 +02:00
17a3a57826
Manual code style adjustments
2022-01-13 15:52:53 +01:00
0549dcc5bc
PHP code sniffer autofixes
2022-01-13 14:50:12 +01:00
61e808e660
Fix missing closing form tag
2020-11-19 02:27:27 +00:00
d6d97f6064
Automatic coding style fixes
2020-04-14 14:22:27 +02:00
0ceefd5c55
Start unifying schema types
...
Schemas per se are type agnostic, isLookup property is removed. Data is stored and accessed differently based on how it is entered and retrieved.
The crucial change is introduction of the composite key of pid and rid. Previous page data utilizes rid = 0 to differentiate itself. Other types, notably lookup, have autoincrementing rid.
Database migration is not implemented yet.
2020-03-18 19:42:48 +01:00
d982cb29e5
Merge pull request #472 from micgro42/fixDeprecation
...
fix PHP7.4 deprecation warning
2019-12-22 17:28:43 +01:00
7cbcfbdb68
better handling of failing sqlite plugin init. fixes #200
2016-11-07 14:55:19 +01:00
025cb9da42
made Assignments singleton. fixes #163
2016-11-02 14:52:44 +01:00
fc26989e44
make sure lookups aren't assigned to pages
...
This prevents pattern assignment and will ignore any lookups when
reading the assignments for a given page.
Should probably have some tests
2016-08-11 12:27:00 +02:00
e4e173875a
Confirm before deleting assignment
...
SPR-538
2016-07-13 14:57:49 +02:00
ba76620163
Use DokuWiki new autoloader for class files
...
No longer do we need to register our own autoloader. Namespace had to be
vendor prefixed.
2016-04-28 15:40:12 +02:00
9914e87efa
allow regexps for page assignments. #70
2016-03-17 12:10:08 +01:00
097f4a53a9
moved schema listing to central place
2016-03-14 13:36:01 +01:00
4d220607ed
make admin interface available to managers. closes #31
2016-03-08 15:37:07 +01:00
f8d8a899b7
fixed assignment listing
2016-03-01 12:09:58 +01:00
33d7be6abc
renamed a few methods to be more clear
...
now that we have assignments and patterns we have to differentiate
correctly
2016-02-25 14:31:30 +01:00
f94f4c4faf
fixed a bunch of minor things found by IntelliJ Idea
2016-02-25 12:19:53 +01:00
ececd523e7
added localization in schema assignment
2016-02-24 16:27:18 +01:00
28e054687d
fixed wrong error message in schema assignment
2016-02-24 16:20:01 +01:00
5f803f4984
fixed loading sqlite helper in assignment screen
2016-02-10 09:17:23 +01:00
a3d1e4593d
made assignment overview a table
...
I'm not too happy about the links for the delete action, but with the
form wrapped around the table, this was the easiest way.
2016-02-09 18:13:25 +01:00
dbffe06e4b
fixed bugs introduced by making admin components
...
also show a TOC on both admin pages to easily switch
2016-02-09 18:13:25 +01:00
1a8d1235c6
moved more assignment related stuff to the Assignment class
2016-02-09 10:08:02 +01:00
40b81cab7f
fixed getMenuText method signature
2016-02-04 13:03:02 +01:00
87fdbc6b82
Add an adminpage for schema<->page/ns assignments
...
Todo: The test if a page is in a namespace with an schema assigned is
not yet implemented.
2016-02-03 19:22:10 +01:00