Commit Graph

55 Commits

Author SHA1 Message Date
Julian Prieber 6422f78eda Removed URL from link query string 2022-11-25 16:50:11 +01:00
Julian Prieber 9b9593b98d Added first setup page
This setup will:
1. Check the server dependencies
2. Setup the database
3. Create the admin user
4. Configure the app
2022-11-23 15:52:33 +01:00
Julian Prieber 542afadd8b Fixed HTTPS links on reverse proxies
The force HTTPS option in the config now turns any link into HTTPS. This also works on reverse proxy setups.

The previous option in the config is now being replaced with the new option FORCE_ROUTE_HTTPS which redirects all routes and pages to HTTPS. This option should never be used behind a reverse proxy.

See issue: https://github.com/JulianPrieber/littlelink-custom/issues/216
2022-11-20 14:10:49 +01:00
Julian Prieber 8350373262 Updated config editor 2022-11-17 15:07:06 +01:00
Julian Prieber d8673de736 Update web.php 2022-11-13 22:56:07 +01:00
Julian Prieber 951df23c91 Laravel 9
Update to Laravel 9

Commit for the upcoming from-end update.
2022-11-08 16:11:59 +01:00
Julian Prieber 4153b0d844 Update web.php 2022-10-19 20:36:05 +02:00
Julian Prieber f2918d3b24 Optimized use of profile URLs without prefix
(Set in advanced config)
2022-10-19 19:40:10 +02:00
Julian Prieber c589a3adad Implemented Theme Updater beta
https://github.com/JulianPrieber/littlelink-custom/discussions/49#discussioncomment-3408857
2022-09-13 13:47:21 +02:00
Milan C cb613f6a05 Init Sortable links. 2022-08-15 00:35:26 +05:30
Julian Prieber 8bf6ffb837 Update web.php 2022-08-08 15:50:40 +02:00
Julian Prieber bcaf3593b9 Fixed bug "Maintenance Mode while updating" 2022-08-08 15:30:28 +02:00
Julian Prieber edc2f548c9 Update web.php 2022-08-08 14:55:54 +02:00
Julian Prieber 75d39276ed Added Maintenance Mode 2022-08-08 14:09:11 +02:00
Julian Prieber b51b7c46a8 Added independent backup system 2022-08-06 12:20:28 +02:00
Julian Prieber 33fd0f7e10 Added option to adjust visible button count on edit link page 2022-08-05 17:29:49 +02:00
Julian Prieber be5b890ce7 Added proper option to delete users
Users links will now NOT be deleted anymore if blocked.
2022-07-11 16:25:26 +02:00
Julian Prieber 9a38e061c9 Added option to create new user from the Admin Panel 2022-07-11 16:05:28 +02:00
Julian Prieber ffcab1c8ec Added manual E-Mail verification
Admins are now able to verify users emails manually from the Admin Panel.
2022-07-11 14:51:24 +02:00
Julian Prieber 1ee73d0554 Added option for deleting themes 2022-07-04 23:41:28 +02:00
Julian Prieber 0df539c261 Added HTTPS redirection to env config 2022-06-30 10:39:40 +02:00
Julian Prieber fd611155f9 Added section to Advanced Config 2022-06-27 16:29:50 +02:00
Julian Prieber 1c79ae15b4 Enabled access over http 2022-06-17 11:26:56 +02:00
Julian Prieber e4f682c3a1 Added page to download updater backups 2022-06-16 13:35:39 +02:00
Julian Prieber d9ccad6c7e Fixed generating APP KEY with 'composer update' 2022-06-14 23:45:11 +02:00
Julian Prieber b5baeecab9 Added Advanced Config editor to Admin Panel
+ .ENV editor for NGINX users
2022-06-13 17:47:24 +02:00
Julian Prieber 789f226dde Update web.php 2022-06-09 22:51:16 +02:00
Julian Prieber 73d2ec515b Update web.php 2022-06-09 22:35:59 +02:00
Julian Prieber 02bec65724 Changed name of config file 2022-06-09 22:26:35 +02:00
Julian Prieber 6e9bad6751 Renamed meta.php to config.php 2022-06-09 19:08:37 +02:00
Julian Prieber 8b8db871bc Update web.php 2022-06-09 17:07:45 +02:00
Julian Prieber 40f3dc0ec2 Added option to customize routes 2022-06-09 16:45:05 +02:00
Julian Prieber e026c41d17 Update web.php 2022-06-08 18:59:03 +02:00
Julian Prieber 3b04190cc5 Update web.php 2022-06-08 18:51:14 +02:00
Julian Prieber 63ba594a63 Added function to automatically generate APP_KEY 2022-06-07 23:15:39 +02:00
Julian Prieber e98d942b04 Added Theme Credit page
A short page that displays the contents of a Theme's readme.md.

Currently, a link to this page is only visible in the HTML meta tags if viewed as page source.
This page can always be accessed on your.domain.com/theme/@littlelink_name.
(For example your.domain.com/theme/@admin)
2022-05-31 14:11:26 +02:00
Julian Prieber 2dc3e3d185 Added option for admins to view and delete user links 2022-05-30 15:02:27 +02:00
Julian Prieber 54035ce5c4 Added skip backup on update option
Added skip backup on update option to config
2022-05-30 11:39:39 +02:00
Julian Prieber 7cf52a4a6a Update web.php 2022-05-26 12:12:09 +02:00
Julian Prieber 95057f6209 Update web.php 2022-05-26 11:38:34 +02:00
Julian Prieber c90e49fa1c Update web.php 2022-05-25 20:53:00 +02:00
Julian Prieber 867f6c1efc Update web.php 2022-05-25 16:20:05 +02:00
Julian Prieber 496b4755b6 Added route 2022-05-24 15:23:10 +02:00
Julian Prieber 592dde4b2a Added support for custom themes 2022-05-18 21:08:58 +02:00
Julian Prieber 62c9baba23 Added custom button editor
Added the long planned button editor. This solution does not look optimal, but works... mostly.

This solution is implemented with JavaScript and the current versions code is very unorganized mostly uncommented and the HTML is still mostly done with inline code. I hope I will fix this in future revisions.

To learn more about the new button editor, read:
https://littlelink-custom.com/blog/upcoming-features/
https://littlelink-custom.com/blog/progress-of-the-new-button-editor/
2022-04-27 20:55:19 +02:00
Julian Prieber 89f8361edd Added security check tool
Added new security check tool. This tool is a new page that displays diagnostic information about your LittleLink Custom installation.

Previously, installing LittleLink Custom on NGINX or other platforms that do not support .htaccess functionality presented a significant security risk if not configured properly. This tool simply shows if critical system files can be accessed externally by anyone. In addition, information about writing access to important files or directories is displayed here.

Read more about this feature on the blog here: https://blog.littlelink-custom.com/new-security-check-tool/
2022-04-20 17:31:38 +02:00
Julian Prieber cb4de3f863 Added route for button editor
Added routes for upcoming button editor.
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-10 17:40:37 +02:00
Julian Prieber 6f0bf16587 Added phpinfo debugger
Added PHPinfo section to the config editor to display information about the current state of PHP.
This new section can be found on the Admin Panel under 'Admin>Config>PHP Info'.

For this, a new route and section in the admin controller have been added. The page is loaded as phpinfo.blade.php with the route .../panel/phpinfo if the user is authenticated as an admin.

I added the usual dark mode detection to the page, with an extra section that changes the background color according to the preferred theme setting. The page itself can be downloaded and saved as an HTML, for this  JavaScript is used.
2022-03-28 12:20:47 +02:00
Julian Prieber 89d54492fd Added option to set profile as homepage
The homepage can now be changed to a user's profile page with the option "HOME_URL" in the config (found on the Admin Panel under Admin>Config).

This commit is a bit janky, I wanted to change the homepage with a setting saved in the database, but I couldn't finish this in time, so this has to do for now.

An if statement in the web routes PHP checks if the new setting is present in the config and changes the homepage to the listed LittleLink Custom name. If the homage  is changed, the page previously set as the homepage where users can register and or login can now be found at .../home.
2022-03-24 14:44:33 +01:00
Julian Prieber 6c81802799 Added 'no Page URL' notice
Added a notice if a user tries to view their page without having a Page URL set on the User Panel.
2022-03-19 18:34:43 +01:00