Commit Graph
60 Commits
Author SHA1 Message Date
gregorio 796148a532 Nonactivate a post manually causes its status changed to 3 which cannot be edited and its status cannot be changed. 2017-09-07 13:45:05 +07:00
gregorio 3de31142e0 Changed the way same data checker works 2017-09-07 13:38:48 +07:00
gregorio cf7d5b4c5a Now can include WHERE clause on showAll() method 2017-09-07 11:21:15 +07:00
gregorio 041e4dd2dd Posts valid and expire can now be edited 2017-09-07 10:46:37 +07:00
gregorio d3d2ba1455 Added default date entry value 2017-09-07 10:43:28 +07:00
gregorio 6f65c067df Fix posts status issues 2017-09-07 10:39:54 +07:00
gregorio 05f213045e Change status display of posts 2017-09-07 09:04:14 +07:00
gregorio 706b15d401 Fix editor privilage issues 2017-09-06 16:01:57 +07:00
gregorio 9296c7798e Only admin can register new user 2017-09-06 16:01:32 +07:00
gregorio 6040897552 Fix editor privilage issues 2017-09-06 15:38:30 +07:00
gregorio a6267699cc Fix creator and editor name not displaying 2017-09-06 15:08:48 +07:00
gregorio b78a84585f Cannot register registered username 2017-09-06 15:04:41 +07:00
gregorio c43b4744db Cannot register empty data 2017-09-06 14:53:22 +07:00
gregorio 0f4cef62a7 Move the process order 2017-09-06 14:51:53 +07:00
gregorio 91347e3597 Remove validation class 2017-09-06 14:49:50 +07:00
gregorio 1c65750067 Fix column name issues 2017-09-06 14:49:35 +07:00
gregorio 992874ce1c Added handler 2017-09-06 14:49:14 +07:00
gregorio bb834494bd Cannot update with same value 2017-09-06 14:48:47 +07:00
gregorio 35947befc1 Cannot input empty data to posts 2017-09-06 14:17:09 +07:00
gregorio 89315c0930 Added content max length 2017-09-06 14:14:14 +07:00
gregorio c77730e516 Fix edit condition conflicts 2017-09-06 14:11:51 +07:00
gregorio a9101eb047 Added register privilage 2017-09-06 13:56:40 +07:00
gregorio ff67e487ce Added function to register new user 2017-09-06 13:39:10 +07:00
gregorio 1ee4ca3730 Added function to entry remove categories 2017-09-06 11:50:45 +07:00
gregorio 01ce24fd39 Added edit validation 2017-09-06 11:19:44 +07:00
gregorio a34ce9d0eb Added condition when login invalid 2017-09-06 10:57:17 +07:00
gregorio 71fb5e4933 - Added database validation
- Added valid date for posts
- Fix passing data to htmls conflicts
2017-09-06 10:40:05 +07:00
gregorio 57dc4ca0b9 Added admin privilages 2017-09-05 14:03:55 +07:00
gregorio a4db3c8391 Fixing PDO fetching 2017-09-05 13:37:16 +07:00
gregorio f8f4398007 Added login function 2017-09-05 13:36:19 +07:00
gregorio 47d455063f - Code design
- Passing data from users table
2017-09-05 11:30:11 +07:00
gregorio 1381593163 Added function to deactivate post 2017-09-05 10:53:03 +07:00
gregorio 61060dd393 Function edit works successfuly 2017-09-05 10:24:44 +07:00
gregorio c64064321e - Function to store and get worked good
- Token works great
- Session works great
2017-09-05 10:01:27 +07:00
gregorio 45dbe24da7 Adding token and current timestamp to html. 2017-09-05 08:54:32 +07:00
gregorio 06c4e2a74e Added input handler, redirector, session handler, and token handler. 2017-09-04 16:25:11 +07:00
gregorio e1d70ed8f4 Receive data from database and pass to html using twig 2017-09-04 16:20:27 +07:00
gregorio aa60edbbf0 Create function to pass data to html through twig 2017-09-04 15:35:11 +07:00
gregorio 424737117a Configure html files with twig 2017-09-04 15:05:54 +07:00
gregorio e7b5eec29d Create conditions if no id is given. 2017-09-04 14:47:30 +07:00
gregorio a2a5289f66 Modify html pages 2017-09-04 14:46:51 +07:00
gregorio 287bd4beab Fixing render path 2017-09-04 14:33:03 +07:00
gregorio 7fa99eb6d8 Registering twig to project 2017-09-04 14:08:36 +07:00
gregorio 81510beb10 Change autoload engine from spl to composer 2017-09-04 11:17:30 +07:00
gregorio 10ff7818d0 Fix errors while test route 2017-09-04 11:05:10 +07:00
gregorio bfdd632adf Fix errors in the router 2017-09-04 11:02:25 +07:00
gregorio 128d337383 Fix router option in the Router test case. 2017-09-04 10:40:40 +07:00
gregorio 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
gregorio 58264e39db Modify route options and do test 2017-08-31 15:58:06 +07:00
gregorio 836a4d8995 Modify Model set functions to abstract, create Access interactions, do test. 2017-08-31 15:54:50 +07:00