0
0
Commit Graph

48 Commits

Author SHA1 Message Date
Bryan Pedini
89488cab2a added session cookie lifetime, modified installer accordingly 2019-07-19 10:34:30 +02:00
Bryan Pedini
68884270f3 Moved all configurations away from $GLOBALS to independent variables 2019-07-18 11:38:03 +02:00
Bryan Pedini
f2a56c2abc Ran the formatter on all PHP files, added userbar.css 2019-07-17 10:37:44 +02:00
Bryan Pedini
923184ab68 Merge branch 'issue_#2' of bryanpedini/OpenShorte into master 2019-06-16 06:14:36 +02:00
Bryan Pedini
22e22c7de0 corrected newly inserted URLs not appearing in URL list in real time (fix #2) 2019-06-16 06:11:47 +02:00
Bryan
3f1efd1103 updated README.md
finally...
2019-06-16 04:20:12 +02:00
Bryan
43800c3872 fixed "view page source" beautifulness by adding new lines to raw code 2019-06-16 02:18:57 +02:00
Bryan
6c50b051bc Added secondary security login with double password 2019-06-06 00:59:20 +02:00
Bryan
ea4becd52d Completed installer 2019-06-02 16:35:02 +02:00
Bryan
3ad9729947 Removed unnecessary logging (redundant) 2019-06-02 16:34:16 +02:00
Bryan
c8fac6f815 fixed weird redirect under nginx proxy_pass over apache2 2019-06-02 15:28:58 +02:00
Bryan
8abf2c5e8a deleted config.json - no more need of it, added installer to create config.json 2019-06-02 15:20:08 +02:00
Bryan
312d03599f Added new lines at the end of files, added edit functionality 2019-06-02 14:46:51 +02:00
Bryan
ed20989e14 Modified function name 2019-06-02 09:32:36 +02:00
Bryan
7dd72e6b92 Moved logout function in dedicated file 2019-06-02 09:31:04 +02:00
Bryan
04df25c00d Moved insertnew.js->manage.js, modified manage.php accordingly 2019-06-02 09:30:08 +02:00
Bryan
1854bac048 Corrected some javascript 2019-06-02 09:27:47 +02:00
Bryan
b48d8da271 small login adjustements, finished unminimizing sha512.js 2019-05-30 14:17:10 +02:00
Bryan
6294ae5d50 Prepared website with even cleaner file structure and layout 2019-05-29 19:33:35 +02:00
Bryan
c399808706 Corrected title id
JavaScript did not work entirely with that single error
2019-05-29 19:32:08 +02:00
Bryan
63689ae0e9 Website refactored
Converted MySQLi Database.php class to PHP_PDO objects
2019-05-29 19:27:41 +02:00
Bryan
71e028cfdb Removed unnecessary duplicated code for inserting new link to database 2019-05-29 19:16:11 +02:00
Bryan
e56b67bae7 Corrected password reset page inclusion in /lib/php/login.php 2019-05-29 19:06:48 +02:00
Bryan
94ea3a0168 Corrected management panel page title 2019-05-29 19:05:33 +02:00
Bryan
b9b4150bd1 Corrected login page title 2019-05-29 19:04:11 +02:00
Bryan
b21dd0518d Website refactored
Prepared the website structure for the new layout
2019-05-29 19:03:06 +02:00
Bryan
eeffcd93cf Corrected error page including directory 2019-05-29 18:51:11 +02:00
Bryan Pedini
98e88faef8 Corrected bad check for database config 2019-04-30 12:34:26 +02:00
Bryan Pedini
08f540057f Corrected redirect bug - fixed request_uri position during checks. 2019-04-30 12:00:55 +02:00
Bryan Pedini
fe09cd7496 Corrected error message 2019-04-11 12:54:14 +02:00
Bryan
81d21c311f Minor changes
Moved config into $GLOBALS
Moved request_uri into $GLOBALS
Modified all files accordingly
Modified logout page for future improvements (not deleting the entire $_SESSION)
Fixed LICENSEs, moved LICENSE for PHP files in /lib/php subfolder instead of /lib
2019-04-06 11:57:35 +02:00
Bryan Pedini
18dc9b18d3 Website refactoring
Moved PHP files to "lib" folder
Moved Javascript files to "lib" folder
Moved login page inline CSS to "login.css"
Moved database functions to class "Database"
Removed the html template, compensated with a direct HTML code inside PHP "else" statement
2019-03-25 11:27:37 +01:00
Bryan Pedini
5a75d5335e Corrected URI splitting when last character is a "/" 2019-03-25 10:47:29 +01:00
Bryan Pedini
f2678758fa Added Favicon 2019-03-22 09:41:57 +01:00
Bryan Pedini
4a6630bacb Refactored database, refactored config file, corrected login redirection
Moved database function in class "Database";
Corrected database-using webpages accordingly;
Moved config file from PHP to JSON with more config variables;
Corrected login page redirection on wrong username or password.
2019-03-21 12:07:23 +01:00
Bryan Pedini
4eaf1d0829 Corrected login page overflow 2019-03-18 11:38:00 +01:00
Bryan Pedini
9270128c6d Corrected login form title. 2019-03-18 11:32:39 +01:00
Bryan Pedini
7b5a149477 Updated the login page with a new cool template.
Source template from https://bootsnipp.com/snippets/z8aQr.
2019-03-18 11:23:48 +01:00
Bryan Pedini
81134c90e6 Moved library files. 2019-03-18 10:34:17 +01:00
Bryan Pedini
a37b863eb7 Corrected logout redirection 2019-02-26 10:07:30 +01:00
Bryan Pedini
4a4cad425b Continued the unminimize work of the sha512 script 2019-02-14 18:22:40 +01:00
Bryan Pedini
6cfbc1f7ea Corrected link forwarding check 2019-02-14 12:31:28 +01:00
Bryan Pedini
168f4ece75 Added licensing, redirected null /go requests to homepage, corrected 404 errors. 2019-02-08 10:14:22 +01:00
Bryan Pedini
7acb2ca533 Refactored the website
Renamed "includes" to "templates"
Added .htaccess to redirect requests to index.php
Added function to split request URL into array
Corrected locations in scripts and pages
2019-02-07 12:36:44 +01:00
Bryan Pedini
9210890eda Minor bug fixes, added URL link on redirect page. 2019-02-07 11:51:47 +01:00
Bryan Pedini
9e8f7ed464 updated README.md to version b_1.0@2019012602 2019-01-26 23:36:07 +01:00
Bryan Pedini
9888403935 first version of the website, it works as intended. 2019-01-26 23:34:48 +01:00
Bryan Pedini
37fbd490fd first commit 2019-01-26 20:18:13 +01:00