Tomasz Sowa
35e10ed469
updated to the new Pikotools api (new Space struct)
2021-04-09 17:50:58 +02:00
Tomasz Sowa
e8ba2a7bd1
fixed: incorrect status was set when editing a file
...
now System::EditFile() returns boolean
2021-03-11 18:42:26 +01:00
Tomasz Sowa
57aad8b454
removed from Item: update() and save() methods which take the 'url_was_changed' argument
...
and added ItemModelData (based on morm::ModelData) class which has 'prepare_unique_url' field,
an object of this class is passed to update(), insert() and save() methods
fixed: Dirs::CheckRootDir(): update should update childs too (privileges)
WIP: #4
2021-03-08 21:06:50 +01:00
Tomasz Sowa
32e93a04c5
Item class has been moved to a new directory 'models', a new class has been added: ItemContent
...
and same fields from Item were moved to ItemContent
Item
- id
- parent_id
- type (file, dir, symlink)
- url
- subject
- template (html template)
- sort_index
- content_id
ItemContent
- id
- ref -> references (renamed)
- user_id
- modification_user_id
- group_id
- privileges
- date_creation
- date_modification
- guest_name
- link_to
- link_redirect
- file_path
- file_fs
- file_type
- file_size
- has_thumb -> file_has_thumb (renamed)
- hash -> file_hash (renamed)
- hash_type -> file_hash_type (renamed)
- content -> content_raw (renamed)
- content_type -> content_raw_type (renamed)
- content_parsed
- content_parsed_type
- meta
- ameta -> meta_admin (renamed)
- modify_index (removed)
WIP: #4
2021-02-24 01:19:47 +01:00
Tomasz Sowa
89d303f375
some work on dependency injection
...
git-svn-id: svn://ttmath.org/publicrep/winix/branches/0.7.x@1147 e52654a7-88a9-db11-a3e9-0013d4bc506e
2018-11-21 17:51:15 +00:00
Tomasz Sowa
145efe937c
moved winix directories to winixdsubdirectory
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1028 e52654a7-88a9-db11-a3e9-0013d4bc506e
2016-03-17 08:26:02 +00:00