This website requires JavaScript.
d007f52e70
Merge branch 'patch-1' into 'master'
Gregorio
2017-09-11 08:52:00 +07:00
94d4a76ec6
Administrator can remove posts
Gregorio Chiko Putra
2017-09-09 14:07:53 +07:00
086edebd41
Edited pengumuman.html
Gregorio Chiko Putra
2017-09-09 13:48:48 +07:00
6e470f4e40
Added data conversion to avoid XSS
Gregorio Chiko Putra
2017-09-09 13:27:36 +07:00
645d98843b
Fix error codes issue
Gregorio Chiko Putra
2017-09-09 13:17:44 +07:00
59d8c11d9b
Changed database interaction structures
Gregorio Chiko Putra
2017-09-09 11:21:51 +07:00
a5a3af9c45
Update form login untuk menggunakan method POST dari yang tadinya PUT
dhimas widrayato
2017-09-08 16:30:53 +07:00
1de9cb6447
Changed actions order.
Gregorio Chiko Putra
2017-09-08 16:30:16 +07:00
210c96e150
Changed model structure
Gregorio Chiko Putra
2017-09-08 16:25:24 +07:00
882e635081
Now can reactivate a nonactive category
Gregorio Chiko Putra
2017-09-08 15:49:57 +07:00
aa3fbd72d5
Have to be logged in to create or nonactivate categories
Gregorio Chiko Putra
2017-09-08 15:15:23 +07:00
49eb0f7f0a
Nonactivated category cannot be reactived
Gregorio Chiko Putra
2017-09-08 15:14:05 +07:00
29cfda5ba0
Changed language display on client to Indonesia/Indonesian
Gregorio Chiko Putra
2017-09-08 14:51:16 +07:00
7edda5c225
Set log timezone to Asia/Jakarta
Gregorio Chiko Putra
2017-09-08 14:29:30 +07:00
9868d3397b
Clean Error.php
Gregorio Chiko Putra
2017-09-08 14:22:22 +07:00
682fca8a05
Changed database structure
Gregorio Chiko Putra
2017-09-08 14:03:30 +07:00
d4dce8e460
Allowed single user to be logged in at multiple sessions
Gregorio Chiko Putra
2017-09-08 14:00:28 +07:00
66745e26d5
Updated data field list
Gregorio Chiko Putra
2017-09-08 13:03:43 +07:00
658217fea7
Cannot login with user that already logged in
Gregorio Chiko Putra
2017-09-08 13:00:46 +07:00
01172d6946
Turn off autocomplete
Gregorio Chiko Putra
2017-09-08 10:38:08 +07:00
8956b17434
Changed login/logout process
Gregorio Chiko Putra
2017-09-08 10:05:42 +07:00
8eb9005642
Changed login process
Gregorio Chiko Putra
2017-09-07 16:21:57 +07:00
ab8506882a
Logging out now displays a message
Gregorio Chiko Putra
2017-09-07 16:17:26 +07:00
23622bc5a8
Added error handler
Gregorio Chiko Putra
2017-09-07 16:11:54 +07:00
796148a532
Nonactivate a post manually causes its status changed to 3 which cannot be edited and its status cannot be changed.
Gregorio Chiko Putra
2017-09-07 13:45:05 +07:00
3de31142e0
Changed the way same data checker works
Gregorio Chiko Putra
2017-09-07 13:38:48 +07:00
cf7d5b4c5a
Now can include WHERE clause on showAll() method
Gregorio Chiko Putra
2017-09-07 11:21:15 +07:00
041e4dd2dd
Posts valid and expire can now be edited
Gregorio Chiko Putra
2017-09-07 10:46:37 +07:00
d3d2ba1455
Added default date entry value
Gregorio Chiko Putra
2017-09-07 10:43:28 +07:00
6f65c067df
Fix posts status issues
Gregorio Chiko Putra
2017-09-07 10:39:54 +07:00
05f213045e
Change status display of posts
Gregorio Chiko Putra
2017-09-07 09:04:03 +07:00
706b15d401
Fix editor privilage issues
Gregorio Chiko Putra
2017-09-06 16:01:57 +07:00
9296c7798e
Only admin can register new user
Gregorio Chiko Putra
2017-09-06 16:01:32 +07:00
6040897552
Fix editor privilage issues
Gregorio Chiko Putra
2017-09-06 15:38:30 +07:00
a6267699cc
Fix creator and editor name not displaying
Gregorio Chiko Putra
2017-09-06 15:08:48 +07:00
b78a84585f
Cannot register registered username
Gregorio Chiko Putra
2017-09-06 15:04:41 +07:00
c43b4744db
Cannot register empty data
Gregorio Chiko Putra
2017-09-06 14:53:22 +07:00
0f4cef62a7
Move the process order
Gregorio Chiko Putra
2017-09-06 14:51:53 +07:00
91347e3597
Remove validation class
Gregorio Chiko Putra
2017-09-06 14:49:50 +07:00
1c65750067
Fix column name issues
Gregorio Chiko Putra
2017-09-06 14:49:35 +07:00
992874ce1c
Added handler
Gregorio Chiko Putra
2017-09-06 14:49:14 +07:00
bb834494bd
Cannot update with same value
Gregorio Chiko Putra
2017-09-06 14:48:47 +07:00
35947befc1
Cannot input empty data to posts
Gregorio Chiko Putra
2017-09-06 14:17:09 +07:00
89315c0930
Added content max length
Gregorio Chiko Putra
2017-09-06 14:14:14 +07:00
c77730e516
Fix edit condition conflicts
Gregorio Chiko Putra
2017-09-06 14:11:51 +07:00
a9101eb047
Added register privilage
Gregorio Chiko Putra
2017-09-06 13:56:40 +07:00
ff67e487ce
Added function to register new user
Gregorio Chiko Putra
2017-09-06 13:39:10 +07:00
1ee4ca3730
Added function to entry remove categories
Gregorio Chiko Putra
2017-09-06 11:50:45 +07:00
01ce24fd39
Added edit validation
Gregorio Chiko Putra
2017-09-06 11:19:44 +07:00
a34ce9d0eb
Added condition when login invalid
Gregorio Chiko Putra
2017-09-06 10:57:17 +07:00
71fb5e4933
- Added database validation - Added valid date for posts - Fix passing data to htmls conflicts
Gregorio Chiko Putra
2017-09-06 10:40:05 +07:00
57dc4ca0b9
Added admin privilages
Gregorio Chiko Putra
2017-09-05 14:03:55 +07:00
a4db3c8391
Fixing PDO fetching
Gregorio Chiko Putra
2017-09-05 13:37:16 +07:00
f8f4398007
Added login function
Gregorio Chiko Putra
2017-09-05 13:36:19 +07:00
47d455063f
- Code design - Passing data from users table
Gregorio Chiko Putra
2017-09-05 11:30:11 +07:00
1381593163
Added function to deactivate post
Gregorio Chiko Putra
2017-09-05 10:53:03 +07:00
61060dd393
Function edit works successfuly
Gregorio Chiko Putra
2017-09-05 10:24:44 +07:00
c64064321e
- Function to store and get worked good - Token works great - Session works great
Gregorio Chiko Putra
2017-09-05 09:53:52 +07:00
45dbe24da7
Adding token and current timestamp to html.
Gregorio Chiko Putra
2017-09-05 08:54:32 +07:00
06c4e2a74e
Added input handler, redirector, session handler, and token handler.
Gregorio Chiko Putra
2017-09-04 16:25:11 +07:00
e1d70ed8f4
Receive data from database and pass to html using twig
Gregorio Chiko Putra
2017-09-04 16:20:27 +07:00
aa60edbbf0
Create function to pass data to html through twig
Gregorio Chiko Putra
2017-09-04 15:35:11 +07:00
424737117a
Configure html files with twig
Gregorio Chiko Putra
2017-09-04 15:05:54 +07:00
e7b5eec29d
Create conditions if no id is given.
Gregorio Chiko Putra
2017-09-04 14:47:30 +07:00
a2a5289f66
Modify html pages
Gregorio Chiko Putra
2017-09-04 14:46:51 +07:00
287bd4beab
Fixing render path
Gregorio Chiko Putra
2017-09-04 14:33:03 +07:00
7fa99eb6d8
Registering twig to project
Gregorio Chiko Putra
2017-09-04 14:08:36 +07:00
81510beb10
Change autoload engine from spl to composer
Gregorio Chiko Putra
2017-09-04 11:17:30 +07:00
10ff7818d0
Fix errors while test route
Gregorio Chiko Putra
2017-09-04 11:05:10 +07:00
bfdd632adf
Fix errors in the router
Gregorio Chiko Putra
2017-09-04 11:02:25 +07:00
128d337383
Fix router option in the Router test case.
Gregorio Chiko Putra
2017-09-04 10:40:40 +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.
Gregorio Chiko Putra
2017-09-04 10:37:25 +07:00
58264e39db
Modify route options and do test
Gregorio Chiko Putra
2017-08-31 15:58:06 +07:00
836a4d8995
Modify Model set functions to abstract, create Access interactions, do test.
Gregorio Chiko Putra
2017-08-31 15:54:50 +07:00
031a188f5b
Make a better database interactions
Gregorio Chiko Putra
2017-08-31 15:09:43 +07:00
a075e1c36e
Modify Model become abstract, create database interactions and do test.
Gregorio Chiko Putra
2017-08-31 14:53:17 +07:00
5ca179fac7
Modify Model.php
Gregorio Chiko Putra
2017-08-31 13:31:52 +07:00
1235bd4148
Create database connection using configuration then do a test
Gregorio Chiko Putra
2017-08-31 13:21:38 +07:00
f56503a4d4
Fix the errors while testing router, and create new method login() on Home controller
Gregorio Chiko Putra
2017-08-31 10:39:31 +07:00
6666d674a6
Modify router to accept variables and do test
Gregorio Chiko Putra
2017-08-31 10:21:55 +07:00
d51baaf2c2
Modify form objects in login.html and edit_pengumuman.html, also create new html new_pengumuman.html
Gregorio Chiko Putra
2017-08-31 10:12:06 +07:00
9a94e5b250
Create Controllers Home and Posts
Gregorio Chiko Putra
2017-08-31 09:57:27 +07:00
ffea1b6b6c
Create Core/Router and public/index then test the Router
Gregorio Chiko Putra
2017-08-31 08:59:49 +07:00
6b5fe0eadf
Create html files: + login + pengumuman + edit pengumuman
Gregorio Chiko Putra
2017-08-28 15:45:07 +07:00