48 Commits

Author SHA1 Message Date
025f537074 Added regexp to strip away any special chars from filename v0.1.1 2014-07-05 10:40:49 +02:00
56da0c396a Deleted obsolete file updatefile.php and rewrote editfile.php completly 2014-07-04 20:10:54 +02:00
b9cbc947b5 Reworked 'nodir'-function a bit and included it in the Page-class instead. Started working on a way to edit content files 2014-07-04 18:27:49 +02:00
f723d7bd69 Moved DOCTYPE above Copyright notice so IE wont bug out v0.1 2014-06-30 20:02:51 +02:00
bbccef275e Moved content.php to includes dir, created a 404-page and a last resort to a default page (404) 2014-06-30 19:55:06 +02:00
c29b964215 Removed obsolete function from Page-class 2014-06-28 18:49:11 +02:00
2f5b8734c4 Worked out a class to easily include subpages/content and put the footer in a function 2014-06-28 15:13:12 +02:00
d5077b085a Renamed blogsite.php to index.php, updated and added some links and rewrote README to match 2014-06-26 19:46:59 +02:00
0e072a2152 Worked out a new login and install system since the MySQL PASSWORD function didn't work out 2014-06-26 19:09:30 +02:00
72808dd6d5 Added a nice HTML-template for a real blog 2014-06-25 21:40:41 +02:00
64766c4ea7 Added a logout button and fixed HTML in simplog.php with 'start_html' and 'end_html' 2014-05-25 09:14:40 +02:00
be4b0a33ac Replaced 'break' with 'exit' and inserted 'isset' on cookie-check 2014-05-22 08:41:34 +02:00
9e77a137c3 It's now simplog.php instead of index.php 2013-08-18 04:28:59 +02:00
2d58f68d62 Added THANKS file 2013-08-18 00:50:18 +02:00
1587e27780 Changed link from index.php to simplog.php 2013-08-18 00:41:36 +02:00
650aa7369d Quoted REQUEST_URI to get the redirect to work 2013-08-17 22:51:00 +02:00
da80450cd7 Merge pull request #1 from Elyrith/master
Added authentication for user/admin area using the database
2013-08-17 13:42:11 -07:00
Elyrith
b411bd3b27 Removed salt from database completely. To be worked out later. 2013-08-16 20:44:06 -04:00
Elyrith
f3c493bbab Removed NOT NULL from users db, salt field since it's not implemented yet. 2013-08-16 20:35:28 -04:00
Elyrith
be86ecdaa1 Renamed users table so it doesn't conflict with another site, in case you use the same database. 2013-08-11 22:44:10 -04:00
Elyrith
4a1fe7bad6 Update README. 2013-08-10 14:32:21 -04:00
Elyrith
84a11cc73b Add comments to includes/login.inc 2013-08-10 14:28:27 -04:00
Elyrith
12e02dda1c Update README with database installer info. 2013-08-10 14:19:44 -04:00
Elyrith
f5a1d52994 Created basic install.php to create the tables and admin user. 2013-08-10 14:06:14 -04:00
Elyrith
18a067a902 All user/ pages require authentication against database users. 2013-08-10 01:46:31 -04:00
Elyrith
4dd163139f Database-based login working for user/new.php. 2013-08-10 01:46:31 -04:00
Elyrith
c7a1d05e4f Lost login.inc somehow. *shrug* 2013-08-10 01:46:31 -04:00
Elyrith
21a833a3eb Login working, but not cookie. 2013-08-10 01:46:31 -04:00
Elyrith
ed0efd68a9 Version 1 of DB auth. Only works with user/login.php for now. 2013-08-10 01:46:31 -04:00
Elyrith
c8706fc865 Version 1 of DB auth. Only works with user/login.php for now. 2013-08-10 01:46:31 -04:00
Elyrith
b6cc8dd776 Create table for users and admin user 2013-08-10 01:46:31 -04:00
Elyrith
9c48d2e0da Fix date help order to match input field. 2013-08-10 00:55:38 -04:00
8ee1270391 Updated README file with usage information 2013-07-28 00:00:17 +02:00
e886d4f461 Cleaned up ugly HTML and renamed index.php to simplog.php 2013-07-27 23:38:17 +02:00
40de6d2290 Fixed some HTML spacings and added a user/admin page for the user directory 2013-07-27 02:56:46 +02:00
846f9144d9 Updated README file with find/edit capabilities 2013-07-27 02:35:06 +02:00
387012735f Split it up a bit more and added a way to find and edit posts 2013-07-27 02:26:29 +02:00
4847b5f4d7 Fixed a few typos (thanks to flinga who pointed this out) 2013-07-26 03:40:19 +02:00
0b601dba2d Forgot about the database in the mysql command 2013-07-26 03:34:43 +02:00
36751401ca Split project into multiple files, added a way to post to the blog and rewrote README file 2013-07-25 06:12:02 +02:00
b14dc108c3 Ooops, still learning the markdown 2013-07-25 05:15:28 +02:00
aaa6a44059 Renamed SQL file and rewrote README 2013-07-25 05:12:06 +02:00
c3060ac4dd Added a SQL file to create the table 2013-07-25 05:06:45 +02:00
26aba89c33 Fixed typo and added a newline 2013-07-23 22:53:32 +02:00
0b0e7ff405 Added a README file 2013-07-23 22:49:43 +02:00
f5ffa1dab0 Added GPL license text 2013-07-23 22:34:03 +02:00
4d2b4cd895 Added function to put N number of posts per page 2013-07-23 22:18:30 +02:00
f6f08cfef4 Base system is done and working 2013-07-21 00:50:58 +02:00