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
55e23b1196
Config option noedit
...
Makes it possible to freeze a schema
2022-08-18 11:35:22 +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
15601745c3
Use "global" option in CSV export instead of defunct "lookup"
2020-12-08 18:32:45 +01:00
ad86a82467
Create pages when importing serial data
2020-05-11 18:54:19 +02:00
4fc908c26a
Block styles for radio buttons in schema editor
2020-05-11 13:58:32 +02:00
fabc08cbd5
Fix code style violations
2020-05-07 09:15:57 +02:00
28d21c10db
Try not to duplicate data saving methods
2020-05-07 09:15:50 +02:00
69d92b7aa0
Prepare to use unified schema in admin CSV export/import
2020-05-07 09:14:58 +02:00
748e747f37
Manual coding style fixes
...
Method and variable visibility, camel case method names. Some exclusions due to inheritance
2020-04-14 14:22:27 +02: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
0bd068be4c
♻️ addElement() returns the Element --> use it
2018-09-04 13:55:23 +02:00
a22f2592de
🐛 (CSV Import) Add edit class to fix alignment
...
This is not ideal but the current DokuWiki styles require 'block' on the label and 'edit' on input
and this is the only way to achive that without writing the element completely by ourselves.
2018-09-03 14:29:32 +02:00
0911f72626
🚸 (Import) Add file-type hints to the import form
2018-08-31 13:23:57 +02:00
17dbef8af8
✨ (Import) Add option to create missing pages in csv page schema import
...
Styling of the checkbox is still a bit off.
WIKI-199
2018-08-31 13:20:41 +02:00
aa413daee4
Merge branch 'master' into addSchemaClearButton
2017-10-16 15:54:57 +02:00
1fc2361fe2
implement CSV import for page schemas
2017-09-19 12:15:21 +02:00
48801f6d7d
display CSV import form for page schemas
2017-09-19 12:15:21 +02:00
79c83e060d
Add button to clear schema data
2017-06-16 12:30:03 +02:00
6d2df5327a
some language clarification
2016-12-07 14:45:23 +01:00
f36cc6349b
add raw CSV export
...
This allows exporting the raw data of a schema in the same format as
used in the CSV import.
2016-12-06 12:01:36 +01:00
a0b3799e38
first go at CSV import #239
...
This adds CSV importing for Lookup Schemas. The format is fixed (comma
separator, " encapsulation, \ escape). The first row has to contain
headers matching the Schema's field names. Non matched fields are
ignored.
No validation is done on import. All data is stored as is and will then
bw interpreted by the different types.
2016-12-05 16:16:12 +01:00
ae5c46fa89
do not invalidate ALL caches when a schema is updated. #216
...
Instead we keep a separate reference file to be updated when schemas are
changed. A cache handler adds this file to all pages having schema
assignments.
Saving a schema feels noticably faster now (because JS and CSS no longer
are invalidated).
2016-11-23 16:42:35 +01:00
0845722b74
fix importing into a new lookup schema
2016-08-15 12:46:34 +02:00
7c080d6944
lookup schemas can now be created
2016-08-04 11:38:09 +02:00
4e427bd54e
added lookup selection in schema creation dialog
2016-08-04 10:32:48 +02:00
e33460e262
Use last file in config cascade
...
This last file is the one actually used to determine whether the cache
is still valid. DOKU_CONF . 'local.php' is not necessarily part of that
cascade
2016-06-15 09:33:17 +02:00
c327364b4f
Invalidate the cache when a schema changes
...
So Schema changes are visibly immediately.
SPR-347
2016-06-14 18:04:36 +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
d5a1a6dcd8
Added way to delete a schema and all its data
2016-04-07 15:55:07 +02:00
8ddf87af74
added Schema Import #32
...
This also adds a nice interface for that to the schema editor
2016-03-22 10:36:53 +01:00
d486d6d7d6
allow exposting struct schemas as JSON #32
2016-03-21 17:57:42 +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
6af24d3eff
some localization
2016-02-24 14:34:02 +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
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