TODO list
General:
- Cleanup src/Session
- Move part of Auth in CoreWine
- Update Auth with new ORM
- Admin/UserController
- Admin/ExampleController: Example/Testing for ORM
- Throw exception for unauthorized client in route /admin
- Handle exception for unauthorized client in route /admin and redirect to login
- Throw exception php version < 7
- Move route/test in TestControler
- CoreWine\Response html/json
- Add __call exception
- Add middleware
- Close function alert
- Api delete multiple
Api: - [x] index - [x] sort - [x] pagination - [x] search - [x] add - [x] get - [x] edit - [x] delete - [x] refactoring - [x] delete multiple - [ ] edit multiple - [ ] copy multiple - [ ] Lock user
Admin:
-
List model 1 to 1, N to 1;
-
List model 1 to N;
-
Form (autocomplete) model 1 to 1, N to 1;
-
Form (autocomplete) model 1 to N;
-
Group column (e.g. ID - Name))
-
Multiple search admin
-
Search in multiple column api
-
URL various modal: add/edit/get (with hash)
-
Improve events autocomplete
-
Fix add autocomplete
-
[?] Obscure autocomplete when isn't loaded
ORM:
-
resolveRelation N to 1
-
Move part of 'src/Item' under 'lib/CoreWine/Item'
-
Rename 'src/item' in src/Api' and cleanup
-
Throw exception when ORM/Model relations is null and a field is invoked
-
Resolve problem about column/repository of field
-
Make clear distinction between Field/Entity and Field/Schema
-
Make clear distinction between ORM/Entity and ORM/Schema
-
Improve ::copy in relations
-
Basic relations between object in ORM
-
Get relation N to 1 ORM
-
Save relations N to 1 ORM
-
Get relations 1 to N ORM
-
Save relations 1 to N ORM
-
Improve relations (::with() select which relations, get relation after retrieved)
-
Create basic ORM
- Create
- Save
- New
- Fill
- Retrieve (get, first, etc..)
- Delete
- Copy
- Fields:
- ID
- Integer
- String
- Text
- Float
- Date
- Time
- DateTime
- Timestamp
DataBase:
- Option to cleanup table model, defined previously, and not exist
- Migrations
- Soft/Hard alter table (hard: delete not declared column, only for dev, not for prod)
- Backup of database for every alteration in folder