Commit Graph

30 Commits

Author SHA1 Message Date
64fc8a6896 Updated Home and Post 2017-10-02 09:18:21 +07:00
ae762758fc Updated mithril index to do (almost) the same with normal index 2017-09-30 13:42:34 +07:00
49310f645a Updated mithril functions 2017-09-28 16:41:11 +07:00
fa28202a2c Fixed timestamp default value, and igonre Config.php but still update Config.php.example 2017-09-23 01:24:35 +07:00
3dae73fcf0 Fixed editing conditions 2017-09-18 09:17:03 +07:00
acd2880637 Added default of expired_at. Info label now must be closed first or cannot use navigation. Removed status field from users table 2017-09-16 14:09:18 +07:00
6cb980051c Removed fitty.js, using manual font-size setting instead. Fixed valid/expired posts check. 2017-09-16 13:06:44 +07:00
9ca1050979 Categories now have their background color and font color, which effects the client and admin side 2017-09-15 16:32:26 +07:00
00c5aba77d Huge updates:
1. Redesigned the web
2. Fixed logging in redirect issue
3. Added new route
4. Fixed sql issue on entry
5. Fixed typos
2017-09-14 16:39:53 +07:00
3d2345c752 Fix database issue 2017-09-13 11:19:35 +07:00
70a4c80143 Removed feature "Administrator can remove posts" 2017-09-11 08:57:51 +07:00
94d4a76ec6 Administrator can remove posts 2017-09-09 14:07:53 +07:00
59d8c11d9b Changed database interaction structures 2017-09-09 11:21:51 +07:00
210c96e150 Changed model structure 2017-09-08 16:25:24 +07:00
49eb0f7f0a Nonactivated category cannot be reactived 2017-09-08 15:14:05 +07:00
682fca8a05 Changed database structure 2017-09-08 14:03:30 +07:00
66745e26d5 Updated data field list 2017-09-08 13:03:43 +07:00
8956b17434 Changed login/logout process 2017-09-08 10:05:42 +07:00
23622bc5a8 Added error handler 2017-09-07 16:12:17 +07:00
cf7d5b4c5a Now can include WHERE clause on showAll() method 2017-09-07 11:21:15 +07:00
1ee4ca3730 Added function to entry remove categories 2017-09-06 11:50:45 +07:00
71fb5e4933 - Added database validation
- Added valid date for posts
- Fix passing data to htmls conflicts
2017-09-06 10:40:05 +07:00
57dc4ca0b9 Added admin privilages 2017-09-05 14:03:55 +07:00
a4db3c8391 Fixing PDO fetching 2017-09-05 13:37:16 +07:00
47d455063f - Code design
- Passing data from users table
2017-09-05 11:30:11 +07:00
1381593163 Added function to deactivate post 2017-09-05 10:53:03 +07:00
e1d70ed8f4 Receive data from database and pass to html using twig 2017-09-04 16:20:27 +07:00
62430ff905 - Methods that are same (e.g. entry(), update(), delete(), etc.) defined in the parent.
- Added function when entry multiple rows (in this case is when putting
categories).
- Do test.
2017-09-04 10:37:25 +07:00
031a188f5b Make a better database interactions 2017-08-31 15:09:43 +07:00
a075e1c36e Modify Model become abstract, create database interactions and do test. 2017-08-31 14:53:17 +07:00