Tomasz Sowa
1d18b7fa12
- updated to the new pikotools api (child spaces were removed)
...
some plugins need to be fixed yet: ticket, gallery, group, menu
- added current user to default models as "user"
- renamed in User: super_user -> is_super_user, env -> admin_env, pass_hash_salted -> is_pass_hash_salted
- now Users class has a WinixModel as a base class
some plugin calls have to be fixed yet
- added UserWrapper model with a pointer to User class
- removed from ItemContent: methods for accessing 'meta' and 'admin_meta', now ezc can iterate through Space classes
- fixed in env winix function: if there is "changeuser" parameter then we should only switch the user (not save anything)
2021-06-27 23:31:50 +02:00
Tomasz Sowa
f1b9d1b870
updated to the new pikotools api: changed the way how child_spaces are created in Space class
2021-05-21 17:17:17 +02:00
Tomasz Sowa
8bb585d97d
updated to the new pikotools api: changed utf8 functions PascalCase to snake_case
2021-05-21 00:41:27 +02:00
Tomasz Sowa
e48a28a5c8
namespace PT renamed to pt
2021-05-20 20:59:12 +02:00
Tomasz Sowa
4df10de6b7
methods eq() from finder can have now a table name
2021-05-13 19:33:19 +02:00
Tomasz Sowa
f1af7e2eeb
updated to the current pikotools api from branch api2021
2021-05-11 22:20:46 +02:00
Tomasz Sowa
35e10ed469
updated to the new Pikotools api (new Space struct)
2021-04-09 17:50:58 +02: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
919c2f62f5
using PT::IsSubString* methods from pikotools
...
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1138 e52654a7-88a9-db11-a3e9-0013d4bc506e
2018-11-01 00:46:44 +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