Commit Graph

815 Commits

Author SHA1 Message Date
Julian Prieber b708ba2c30 Update links.blade.php 2022-12-04 23:40:07 +01:00
Julian Prieber 102a682c53 Update users.blade.php 2022-12-04 23:30:23 +01:00
Julian Prieber 1a3719ae13 Revert "Update sidebar.blade.php"
This reverts commit b308b42f46.
2022-12-04 23:15:40 +01:00
Julian Prieber a4b67cb38e Update sidebar.blade.php 2022-12-04 23:15:26 +01:00
Julian Prieber b308b42f46 Update sidebar.blade.php 2022-12-04 23:15:05 +01:00
Julian Prieber 78a2aa27cd Update sidebar.blade.php 2022-12-04 23:07:21 +01:00
Julian Prieber 4dde1bc02b Bugfix 2022-12-04 20:30:49 +01:00
Julian Prieber 995ff893c7 Skipping installer when instaled for docker 2022-12-02 16:30:10 +01:00
Julian Prieber 4adf239c8e Revert "Added skip option to installer"
This reverts commit bc900d0d29.
2022-12-02 16:06:07 +01:00
Julian Prieber bc900d0d29 Added skip option to installer 2022-12-02 14:35:14 +01:00
Julian Prieber 7a07b49b3f Update finishing.blade.php 2022-12-01 20:31:29 +01:00
Julian Prieber 3717eb953e Update littlelink.blade.php 2022-12-01 18:51:59 +01:00
Julian Prieber d6287ca035 Update finishing.blade.php 2022-12-01 14:09:15 +01:00
Julian Prieber 01e61cc0bf Update finishing.blade.php 2022-12-01 13:25:55 +01:00
Julian Prieber 9c2a91e0fc Added new block "Text" 2022-12-01 12:51:16 +01:00
Julian Prieber 414a3fa8be Update diagnose.blade.php 2022-11-30 13:25:59 +01:00
Julian Prieber fed93daf48 Added option to reset favicon and logo 2022-11-30 12:10:45 +01:00
Julian Prieber 35590314f4 Bugfix 2022-11-30 12:01:19 +01:00
Julian Prieber 38c856484d Added support for custom favicon
Custom logo and custom favicons can now have any supported format.
2022-11-29 23:33:25 +01:00
Julian Prieber 8fb722f32d Update favicon.blade.php 2022-11-29 22:13:59 +01:00
Julian Prieber 5c4ae7b2dc Update favicon.blade.php 2022-11-29 22:01:49 +01:00
Julian Prieber d058eb429e Update favicon.blade.php
@MagicLike
2022-11-29 15:55:03 +01:00
Julian Prieber adb0708da3 Update favicon.blade.php 2022-11-29 11:30:39 +01:00
Julian Prieber c08dcea0ad Update button-editor.blade.php 2022-11-28 21:12:46 +01:00
Julian Prieber b1416df540 Update button-editor.blade.php 2022-11-28 21:07:16 +01:00
Julian Prieber 23a71fe004 Update links.blade.php 2022-11-28 20:23:16 +01:00
Julian Prieber bdb293c7a8 Added option to clear icon chache 2022-11-28 20:20:43 +01:00
Julian Prieber 19a49fedad Caching favicons locally 2022-11-28 19:44:02 +01:00
Julian Prieber 4b1054fc1f Revert "Moved favicon API offsite"
This reverts commit 940e7e35a5.
2022-11-28 17:03:17 +01:00
Julian Prieber 9b9444468d Revert "Update littlelink.blade.php"
This reverts commit a3a462ce9d.
2022-11-28 17:03:14 +01:00
Julian Prieber 75a5dafe9b Revert "Update link-display.blade.php"
This reverts commit 6064ea026b.
2022-11-28 17:03:11 +01:00
Julian Prieber 273d9942de Revert "Update links.blade.php"
This reverts commit 3a5682bcac.
2022-11-28 17:03:06 +01:00
Julian Prieber 654b015107 Revert "Update home.blade.php"
This reverts commit 6147ecfecd.
2022-11-28 17:03:01 +01:00
Julian Prieber 2d66578e11 Revert "Update button-editor.blade.php"
This reverts commit 5cc9c1736e.
2022-11-28 17:02:55 +01:00
Julian Prieber 5cc9c1736e Update button-editor.blade.php 2022-11-28 14:24:10 +01:00
Julian Prieber 6147ecfecd Update home.blade.php 2022-11-28 14:23:12 +01:00
Julian Prieber 3a5682bcac Update links.blade.php 2022-11-28 14:22:06 +01:00
Julian Prieber 6064ea026b Update link-display.blade.php 2022-11-28 14:16:37 +01:00
Julian Prieber a3a462ce9d Update littlelink.blade.php 2022-11-28 13:59:31 +01:00
Julian Prieber 940e7e35a5 Moved favicon API offsite 2022-11-28 13:55:40 +01:00
Julian Prieber 801a7cb67f Optimized internal favicon API 2022-11-26 18:40:12 +01:00
Julian Prieber c87e3e6ac7 Update index.blade.php 2022-11-26 15:01:49 +01:00
Julian Prieber 5600ac090c Remove all external dependencies 2022-11-26 13:15:18 +01:00
Julian Prieber 1287fae1f4 Update theme.blade.php 2022-11-25 17:41:00 +01:00
Julian Prieber b8259b2d88 Update theme.blade.php 2022-11-25 17:38:32 +01:00
Julian Prieber 6422f78eda Removed URL from link query string 2022-11-25 16:50:11 +01:00
Julian Prieber f76a557055 Update update.blade.php 2022-11-24 22:24:39 +01:00
Julian Prieber d76473177e Update links.blade.php 2022-11-24 20:53:42 +01:00
Julian Prieber be7153121e Update favicon.blade.php 2022-11-24 20:10:39 +01:00
Julian Prieber 346340a548 Remove all external dependencies 2022-11-24 20:01:34 +01:00
Julian Prieber deac5326ac Update favicon.blade.php 2022-11-24 18:06:30 +01:00
Julian Prieber 775e5bea00 Remove all external dependencies 2022-11-24 17:50:29 +01:00
Julian Prieber 16b4d652c9 Remove all external dependencies 2022-11-24 17:23:49 +01:00
Julian Prieber f46e5c0898 Update button-editor.blade.php
https://github.com/JulianPrieber/littlelink-custom/issues/224
2022-11-24 13:22:26 +01:00
Julian Prieber f28c4809dc Update config-editor.blade.php 2022-11-24 00:07:26 +01:00
Julian Prieber 20b4c83d44 Update sidebar.blade.php 2022-11-23 22:59:05 +01:00
Julian Prieber e11cc53d64 Update installer.blade.php 2022-11-23 22:48:13 +01:00
Julian Prieber 07aa607997 Update installer.blade.php 2022-11-23 22:43:23 +01:00
Julian Prieber 7fb8ecb47e Update installer.blade.php 2022-11-23 22:14:54 +01:00
Julian Prieber 80644a14b7 Updated first setup page 2022-11-23 22:09:59 +01:00
Julian Prieber 8315940559 Update sidebar.blade.php 2022-11-23 21:01:25 +01:00
Julian Prieber bee52ec6b0 Update diagnose.blade.php 2022-11-23 20:02:29 +01:00
Julian Prieber d4665776e5 Hid visitor analytics until fixed
https://github.com/JulianPrieber/littlelink-custom/issues/215
2022-11-23 18:53:10 +01:00
Julian Prieber c01ae711aa Remove all external dependencies 2022-11-23 18:41:19 +01:00
Julian Prieber d0e170523e Remove all external dependencies 2022-11-23 18:33:28 +01:00
Julian Prieber 2d43347e66 Remove all external dependencies 2022-11-23 18:32:25 +01:00
Julian Prieber 5877fb00b8 Remove all external dependencies 2022-11-23 17:45:19 +01:00
Julian Prieber ca2be62f81 Remove all external dependencies 2022-11-23 17:04:53 +01:00
Julian Prieber 56e17b9fd5 Remove all external dependencies
https://github.com/JulianPrieber/littlelink-custom/discussions/222
2022-11-23 16:37:30 +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 4a5c06816c Fixed unique id errors 2022-11-21 14:33:23 +01:00
Julian Prieber 179225d358 Update config-editor.blade.php 2022-11-20 23:01:37 +01:00
Julian Prieber b8ac15a50a Added back to top button 2022-11-20 22:55:21 +01:00
Julian Prieber 4c23bb88b0 Update update.blade.php 2022-11-20 22:21:57 +01:00
Julian Prieber fe352e65d8 Update finishing.blade.php 2022-11-20 22:07:37 +01:00
Julian Prieber 0891c796d8 Disabled errors in advanced config 2022-11-20 21:54:03 +01:00
Julian Prieber 4e710fcb2b Update back-button.blade.php 2022-11-20 21:32:43 +01:00
Julian Prieber 2d51879300 Added index section to config page 2022-11-20 21:30:48 +01:00
Julian Prieber 3b08b5b6d9 Disabling maintenance mode now forces application out of maintenance 2022-11-20 15:13:53 +01:00
Julian Prieber 7addf2912a Added option Redirect all pages to HTTPS
https://github.com/JulianPrieber/littlelink-custom/issues/216
2022-11-20 14:31:25 +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 ac77efe5a8 Fixed databse errors when updating 2022-11-19 17:48:48 +01:00
Julian Prieber 30ac613a9b Update sidebar.blade.php 2022-11-19 12:21:44 +01:00
Julian Prieber bfb75e1d1d Fixed image width 2022-11-19 12:11:34 +01:00
Julian Prieber f6a137e8bd Removed register select 2022-11-19 11:59:51 +01:00
Julian Prieber c2b6dd83de
Update config.blade.php 2022-11-18 20:57:47 +01:00
Julian Prieber f00032804e Update advanced-config.blade.php 2022-11-18 13:37:14 +01:00
Julian Prieber 0c19b66e2c Update config.blade.php 2022-11-17 21:27:51 +01:00
Julian Prieber e4c95e199f Update config-editor.blade.php 2022-11-17 18:01:59 +01:00
Julian Prieber c32d7df344 Create back-button.blade.php 2022-11-17 18:00:26 +01:00
Julian Prieber 16e59a6285 Update config-editor.blade.php 2022-11-17 17:41:21 +01:00
Julian Prieber 2d332128d9 Added hover animation 2022-11-17 17:27:19 +01:00
Julian Prieber eecfca0958 Update phpinfo.blade.php 2022-11-17 17:10:12 +01:00
Julian Prieber fb3e9b7a59 Update config.blade.php 2022-11-17 16:56:26 +01:00
Julian Prieber 70343d27d5 Update config.blade.php 2022-11-17 16:28:18 +01:00
Julian Prieber 3cffa86b4a Updated config manager 2022-11-17 16:07:58 +01:00
Julian Prieber 1b2bcd1020 Update config.blade.php 2022-11-17 15:43:52 +01:00
Julian Prieber 74f25b6068 Update config.blade.php 2022-11-17 15:40:26 +01:00
Julian Prieber 8539156614 Create advanced-config.blade.php 2022-11-17 15:22:05 +01:00
Julian Prieber 8350373262 Updated config editor 2022-11-17 15:07:06 +01:00
Julian Prieber 8006577bdd Update finishing.blade.php 2022-11-15 15:01:51 +01:00
Julian Prieber 0975ab18de Update index.blade.php 2022-11-14 11:51:54 +01:00
Julian Prieber 6f25200753 Update predefined-form.blade.php 2022-11-14 11:47:33 +01:00
Julian Prieber 6141291ae3 Update predefined-form.blade.php 2022-11-14 11:46:22 +01:00
Julian Prieber 69657bd143 Update edit-link.blade.php 2022-11-14 11:45:07 +01:00
Julian Prieber cfe44190c6 Update edit-link.blade.php 2022-11-14 11:28:35 +01:00
Julian Prieber fe78c14016 Update links.blade.php 2022-11-13 22:36:38 +01:00
Julian Prieber 5144ec0121 Update links.blade.php 2022-11-13 22:09:52 +01:00
Julian Prieber 4726527abd Update links.blade.php 2022-11-13 21:58:24 +01:00
Julian Prieber 2cd0208141 Disabled links in iframes 2022-11-13 00:08:00 +01:00
Julian Prieber fc87d25ff6 Update links.blade.php 2022-11-12 22:54:42 +01:00
Julian Prieber cf952549b2 Added preview to add link page 2022-11-12 21:20:01 +01:00
Julian Prieber ed99b86322 Update theme.blade.php 2022-11-12 19:16:10 +01:00
Julian Prieber a8dafa5154 Update index.blade.php 2022-11-11 19:13:26 +01:00
Julian Prieber 453b965fc2 Update index.blade.php 2022-11-11 19:12:25 +01:00
Julian Prieber 69a5139b70 Update index.blade.php 2022-11-11 19:11:15 +01:00
Julian Prieber f2f89a19c2 Correct link type is now selected when editing link 2022-11-11 15:37:13 +01:00
Julian Prieber 2126497f6e Update finishing.blade.php 2022-11-10 22:41:11 +01:00
Julian Prieber 51d5d40526 Update finishing.blade.php 2022-11-10 22:14:07 +01:00
Julian Prieber 87a24b47ca Fixed custom website favicon check box not being checked when editing 2022-11-10 19:17:41 +01:00
Julian Prieber 759e859102 Fixed link type always defaulting to link when editing 2022-11-10 19:03:35 +01:00
Julian Prieber 8cee892155 Update edit-link.blade.php 2022-11-10 18:34:05 +01:00
Julian Prieber 314701dfaf Fixed changes in merged pull request
1279d478e2

@MagicLike
2022-11-10 13:46:10 +01:00
Julian Prieber 9758aa4607 Update links.blade.php 2022-11-09 23:02:22 +01:00
Julian Prieber 69e125c8c6 Update finishing.blade.php 2022-11-09 20:37:49 +01:00
Julian Prieber 25c9a98eb3 Update finishing.blade.php 2022-11-09 20:29:26 +01:00
Julian Prieber a5a8bbe821 Update predefined-form.blade.php 2022-11-09 19:45:28 +01:00
Julian Prieber 6424352e10 Update update.blade.php 2022-11-09 17:03:41 +01:00
Julian Prieber fac3059051 Update update.blade.php 2022-11-09 17:02:52 +01:00
Julian Prieber 02f0e25a6b Create pre-update.blade.php 2022-11-09 16:56:13 +01:00
Julian Prieber 953b4c8720 Update login.blade.php 2022-11-09 15:35:34 +01:00
Julian Prieber 4e7990bd2b Update finishing.blade.php 2022-11-09 09:50:39 +01:00
Julian Prieber ef95171779 Update finishing.blade.php 2022-11-09 06:47:02 +01:00
Julian Prieber 9464886b85 Update finishing.blade.php 2022-11-08 16:29:00 +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 0053a75648 Added option to themes to use default buttons 2022-10-28 14:05:08 +02:00
Julian Prieber c3e6b40e2d Update littlelink.blade.php 2022-10-26 20:39:53 +02:00
Julian Prieber 4a6ddc3639 Added capitalization to buttons
Buttons now support full capitalization of the default button names. For example, Previously, GitHub would be displayed as Github. Now, the proper capitalization is uses.
2022-10-26 11:20:11 +02:00
Julian Prieber 3b48c5dab9 Added PHP 7.4 warning 2022-10-19 16:40:41 +02:00
Julian Prieber 6624bbdaa9 Updated version and event detection 2022-10-19 15:05:59 +02:00
Julian Prieber 661813b349 Update finishing.blade.php 2022-09-17 14:42:03 +02:00
Julian Prieber fe78560368 Added animation to update button
@MagicLike
2022-09-14 16:22:48 +02:00
Julian Prieber 8e232344d7 Update manually tag now links to theme page
@MagicLike
2022-09-14 15:33:31 +02:00
Julian Prieber 8733f159f9 Added animation
Credit: https://codepen.io/chriscoyier/pen/XWNqxyY
2022-09-14 13:11:38 +02:00
Julian Prieber 8e34499dea Removed "BETA" tag 2022-09-14 12:59:49 +02:00
Julian Prieber 256d03b407 Updated theme updater update button 2022-09-14 12:56:50 +02:00
Julian Prieber e50c052aee Update theme.blade.php 2022-09-14 12:46:25 +02:00
Julian Prieber db9ecc3804 Added theme update notification 2022-09-14 12:34:26 +02:00
Julian Prieber 4c8f8283d9 Fixed GitHub API rate limit
For Theme Updater
2022-09-13 21:04:17 +02:00
Julian Prieber 1c6f9d1746 Update littlelink.blade.php 2022-09-13 20:07:08 +02:00
Julian Prieber 874e8c94eb Added option to disable theme updater in config 2022-09-13 19:44:47 +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
Julian Prieber 142a51cda0 Update littlelink.blade.php 2022-09-11 15:06:31 +02:00
Julian Prieber 837e613970 Fixed home page buttons 2022-09-10 12:18:51 +02:00
Julian Prieber 25afd8f074 Added options to disable custom code in themes 2022-09-10 11:15:40 +02:00
Julian Prieber 2028862b92 Added themes v2 support to home page 2022-09-09 19:17:14 +02:00
Julian Prieber 4d9c1e120b Implemented updates for themes v2 2022-09-07 19:32:36 +02:00
Julian Prieber d28cef5193 Fixed share icon on Firefox 2022-09-02 14:05:36 +02:00
Julian Prieber d238c17b64 Removed "pin link"
Not fully disabled yet.
2022-08-31 13:39:19 +02:00
Julian Prieber 6bb432a4be Fixed bug
Button editor broken by link sorter
2022-08-31 13:35:56 +02:00
Julian Prieber 8d7c222edf Revert "Added scroll to bottom button"
This reverts commit 250d48a187.
2022-08-26 15:04:16 +02:00
Julian Prieber 250d48a187 Added scroll to bottom button
Added scroll to bottom button to:

config page
advanced config page
alternative config editor page
2022-08-23 13:18:09 +02:00
Julian Prieber 1ddae3fc94 Fixed FA
Fixed Font Awesome. Again...

Now using CSS and JS
2022-08-22 12:44:09 +02:00
Julian Prieber 0b7ee6949d
Merge pull request #123 2022-08-17 16:05:41 +02:00
Milan C 9cc14c59af Change base.. 2022-08-17 01:57:48 +05:30
Milan C 2866d66ce0 Added Base. 2022-08-17 01:21:56 +05:30
Julian Prieber db30b36202
Degoogled LittleLink Custom
Degoogled Project
2022-08-16 18:13:32 +02:00
Julian Prieber fa1210a2f2 Changed from Google to DuckDuckGo API to retrieve custom website icons
Changed from Google to DuckDuckGo API for improved privacy and compliance with local laws in an effort to degoogle LittleLink Custom.

See: https://github.com/JulianPrieber/littlelink-custom/issues/124
2022-08-16 18:01:49 +02:00
MagicLike 0ddd06b01a Degoogled Project
- Replaced Google Fonts with Bunny Fonts
- Replaced Google example with "Example" & "example.com"
2022-08-16 17:50:13 +02:00
Julian Prieber c082602715 Changed Custom Website buttons to use HTTPS to fetch favicon 2022-08-16 16:36:45 +02:00
Milan C cb613f6a05 Init Sortable links. 2022-08-15 00:35:26 +05:30
Julian Prieber 435e09a240 Fixed FA 2022-08-10 20:03:46 +02:00
Julian Prieber bce7a57459 Added option to config on update 2022-08-08 14:23:58 +02:00
Julian Prieber fc8a18f0d7 Switched Font Awesome from JS to CSS 2022-08-08 14:11:19 +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 d308d30064 Update edit-link.blade.php 2022-08-02 12:08:04 +02:00
Julian Prieber 6380be8cb5 Added coloration separation to link selection 2022-08-02 11:40:59 +02:00
Julian Prieber e4f77996e2 Sorted buttons alphabetically 2022-08-02 00:33:32 +02:00
Julian Prieber 388d2f27b8 Sorted buttons alphabetically
again...
2022-07-31 23:55:20 +02:00
Julian Prieber 38c471ec61 Edit Link now defaults to current link instead of "custom"
If a link is edited on the edit-link section, the default button selection now has the current button selected rather than the custom button.

@bonelifer

https://github.com/JulianPrieber/littlelink-custom/issues/113
2022-07-31 13:35:52 +02:00
Julian Prieber 66ac92087a Update links.blade.php 2022-07-31 02:03:30 +02:00
Julian Prieber a68990a56b Update links.blade.php 2022-07-31 02:00:09 +02:00
Julian Prieber 784b189cb9 Update index.blade.php 2022-07-30 17:34:30 +02:00
Julian Prieber 564a9d160b Added phone number button 2022-07-15 17:46:26 +02:00
Julian Prieber 4ba6daba5e Update update.blade.php 2022-07-14 19:56:40 +02:00
Julian Prieber 32892f214f Changed Delete user button 2022-07-12 16:30:19 +02:00
Julian Prieber 49981c8c6c Now displaying user's emails on user page 2022-07-12 16:10:49 +02:00
Julian Prieber 5671a8501e Added automatic updater for Windows 2022-07-12 15:16:37 +02:00
Julian Prieber e28a831778 Update users.blade.php 2022-07-11 21:11:49 +02:00
Julian Prieber 5f58a1f4ad Added protection against admins deleting their own accounts
Admins cannot un-verify, block or delete admin accounts. This includes their own and other accounts.
2022-07-11 18:00:22 +02:00
Julian Prieber 6fa31bad06 Update users.blade.php 2022-07-11 17:21:19 +02:00
Julian Prieber 9ae47ad188 Update users.blade.php 2022-07-11 16:58:20 +02:00
Julian Prieber 5b8a3eb77f Update users.blade.php 2022-07-11 16:52:28 +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 a8b0893aae Update links.blade.php 2022-07-11 13:44:52 +02:00
Julian Prieber 5b41e2e1da Update finishing.blade.php 2022-07-08 12:52:38 +02:00
Julian Prieber 8b98c5d84e Update links.blade.php 2022-07-07 23:30:58 +02:00
Julian Prieber 0c9b05b185 Update button database entry on update 2022-07-07 22:57:40 +02:00
Julian Prieber e98bd30051 Made textarea field required 2022-07-07 12:41:24 +02:00
Julian Prieber 79fe2f1a04 Made textarea field required 2022-07-07 12:38:19 +02:00
Julian Prieber dc279ba36e Made textarea field required 2022-07-07 12:31:06 +02:00
Julian Prieber cc09bfeedc Made textarea field required 2022-07-07 12:16:06 +02:00
Julian Prieber f42392b0d9 Made textarea fields required 2022-07-07 12:09:46 +02:00
Julian Prieber 0fc7803dab Hotfix 2022-07-05 22:35:20 +02:00
Julian Prieber 59f74bfe47 Update profile.blade.php 2022-07-05 08:57:27 +02:00
Julian Prieber 1ee73d0554 Added option for deleting themes 2022-07-04 23:41:28 +02:00
Julian Prieber e863e8a105 Update index.blade.php 2022-07-04 22:45:02 +02:00
Julian Prieber 0df539c261 Added HTTPS redirection to env config 2022-06-30 10:39:40 +02:00
Julian Prieber d00998bdc1 Added option to disable password warning 2022-06-28 18:10:39 +02:00
Julian Prieber 7103f8dc1d Added warning if user still uses default password 2022-06-28 12:13:39 +02:00
Julian Prieber 3821d8c277 Update sidebar.blade.php 2022-06-27 22:32:18 +02:00
Julian Prieber fd611155f9 Added section to Advanced Config 2022-06-27 16:29:50 +02:00
Julian Prieber 63f5c12ed8 Update backups.blade.php 2022-06-16 13:59:11 +02:00
Julian Prieber 0ad7c44b3d Update backups.blade.php 2022-06-16 13:52:56 +02:00
Julian Prieber c840d72fca Fixed path 2022-06-16 13:42:37 +02:00
Julian Prieber e4f682c3a1 Added page to download updater backups 2022-06-16 13:35:39 +02:00
Julian Prieber c739d7b1b3 Fixed cURL error 7 on proxied server 2022-06-16 09:56:36 +02:00
Julian Prieber ca62054b4d Fixed default button animations on Home Page 2022-06-15 13:01:46 +02:00
Julian Prieber 877a9bd093 Update index.blade.php 2022-06-13 18:05:23 +02:00
Julian Prieber 139d3a89ef Update index.blade.php 2022-06-13 18:04:29 +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 63744f7ba8 hotfix 2022-06-10 16:28:47 +02:00
Julian Prieber c8aee64ac1 Update update.blade.php 2022-06-10 15:35:15 +02:00
Julian Prieber f4b88895ea Update update.blade.php 2022-06-10 12:39:08 +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 4996976975 Update sidebar.blade.php 2022-06-09 18:04:40 +02:00
Julian Prieber 76c484f018 Added option to change text on "Home" link 2022-06-09 17:41:44 +02:00
Julian Prieber 09aea659c8 Fixed favicon on register and login page 2022-06-09 17:16:31 +02:00
Julian Prieber 93e2832614 Update home.blade.php 2022-06-09 14:58:07 +02:00
Julian Prieber e4abf3ed18 Added option to apply theme to Home Page 2022-06-09 14:41:26 +02:00
Julian Prieber a83d00a628 Added option to change footer links and texts 2022-06-09 12:33:23 +02:00
Julian Prieber a3262e35ab Added option to edit buttons on home page
/*
    |--------------------------------------------------------------------------
    | Custom Buttons on Home Page
    |--------------------------------------------------------------------------
    |
    | Here you can configure your own buttons for the Home Page.
    | You can add or remove as many buttons as you like.
    |
    | The syntax of the custom buttons is as follows:
    |
    |       array(
    |         'button' => '',
    |         'link' => '',
    |         'title' => '',
    |         'icon' => '',
    |         'custom_css' => ''
    |       ),
    |
    | In the 'button' field, you have to enter the button name (i.e. 'twitter', 'github', 'custom'...).
    | You can find a list of all available buttons below.
    |
    | In the 'link' field, can enter your desired link you can leave this field empty for a display only, non-functional button.
    |
    |
    |
    | The input fields below only apply to buttons such as 'custom' and 'custom_website' but must always be included even if only empty.
    |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    |
    | In the 'title' field, changes the text on a button, such as 'custom' and 'custom_website'.
    |
    | In the 'icon' field, uses the same syntax as the Button Editor on the Admin Panel.
    | This allows you to add your own icons to 'custom' buttons. You can find a list of available icons on llc.bio/fa.
    |
    | In the 'custom_css' field, here you can enter custom CSS to change the color of your button.
    | If you don't feel comfortable working with CSS,
    | you can copy and paste the CSS from the 'Custom CSS' field of the Button Editor on the Admin Panel.
    |
    */

    'use_custom_buttons'  => 'true', // Set this to false if you wish to display the old buttons.

    'buttons' => array(
      array(
        'button' => 'github',
        'link' => 'https://github.com/JulianPrieber/littlelink-custom',
        'title' => '',
        'icon' => '',
        'custom_css' => ''
      ),
      array(
          'button' => 'custom',
          'link' => 'https://littlelink-custom.com',
          'title' => 'Project Website',
          'icon' => 'llc',
          'custom_css' => 'color:#ffffff; background-image:linear-gradient(76deg, #f70fff 0%, #11d4de 100%);'),
      array(
        'button' => 'custom',
        'link' => 'https://littlelink-custom.com/sponsor',
        'title' => 'Help us out',
        'icon' => 'fa-hand-holding-hand',
        'custom_css' => 'color:#ffffff; background-image:radial-gradient(circle, #00d2ff 0%, #3a7bd5 95%);'
      ),
    )

    /*
    |--------------------------------|
    | List of Available buttons:     |
    |--------------------------------|
    | 'button' => 'custom'           |
    | 'button' => 'custom_website'   |
    | 'button' => 'github'           |
    | 'button' => 'twitter'          |
    | 'button' => 'instagram'        |
    | 'button' => 'facebook'         |
    | 'button' => 'messenger'        |
    | 'button' => 'linkedin'         |
    | 'button' => 'youtube'          |
    | 'button' => 'discord'          |
    | 'button' => 'twitch'           |
    | 'button' => 'snapchat'         |
    | 'button' => 'spotify'          |
    | 'button' => 'reddit'           |
    | 'button' => 'medium'           |
    | 'button' => 'pinterest'        |
    | 'button' => 'soundcloud'       |
    | 'button' => 'figma'            |
    | 'button' => 'kit'              |
    | 'button' => 'telegram'         |
    | 'button' => 'tumblr'           |
    | 'button' => 'steam'            |
    | 'button' => 'vimeo'            |
    | 'button' => 'wordpress'        |
    | 'button' => 'goodreads'        |
    | 'button' => 'skoob'            |
    | 'button' => 'tiktok'           |
    | 'button' => 'default email'    |
    | 'button' => 'default email_alt'|
    | 'button' => 'bandcamp'         |
    | 'button' => 'patreon'          |
    | 'button' => 'signal'           |
    | 'button' => 'venmo'            |
    | 'button' => 'cashapp'          |
    | 'button' => 'gitlab'           |
    | 'button' => 'mastodon'         |
    | 'button' => 'paypal'           |
    | 'button' => 'whatsapp'         |
    | 'button' => 'xing'             |
    | 'button' => 'buy me a coffee'  |
    | 'button' => 'website'          |
    | 'button' => 'heading'          |
    | 'button' => 'space'            |
    |--------------------------------|
    */
2022-06-09 09:59:04 +02:00
Julian Prieber 032162cdbf Added option to hide share button 2022-06-08 20:26:21 +02:00
Julian Prieber 29bee9b62b Update sidebar.blade.php 2022-06-08 17:52:21 +02:00
Julian Prieber edbdd98649 Update phpinfo.blade.php 2022-06-08 17:37:52 +02:00
Julian Prieber d377d3d406 Update guest.blade.php 2022-06-08 17:28:26 +02:00
Julian Prieber 5e23002b58 Fixed color scheme not applying 2022-06-08 17:24:51 +02:00
Julian Prieber a36e985bfc Added overwrite for default color scheme
Overwrites default theme regardless of preference defined by the operating system, unless manually overwritten by user.

Either "dark" or "light".
2022-06-08 17:09:24 +02:00
Julian Prieber 8639c44fa8 Fixed formatting bug 2022-06-08 16:45:03 +02:00
Julian Prieber 75d7e84567 Updated analytics layout 2022-06-08 16:38:52 +02:00
Julian Prieber af284a58c2 Added analytics support to all pages 2022-06-08 15:58:04 +02:00
Julian Prieber 1884e3237e Fixed bug "lang default" 2022-06-08 15:55:55 +02:00
Julian Prieber ca86582157 Added support for custom meta tags
Added support for custom meta tags via a new config file.
Custom meta tags will only be active if "CUSTOM_META_TAGS" is set to "true" in the config.

Replaced "<html lang="en">" with "@include('layouts.lang')" meaning HTML lang can be changed in the new config, defaults to en if not active or not defined.
2022-06-08 15:43:51 +02:00
Julian Prieber 58d6be2882 Fixed version detection not working 2022-06-01 21:06:47 +02:00
Julian Prieber 3519a37217 Added BETA notice to sidebar 2022-06-01 18:36:53 +02:00
Julian Prieber 7daf7b6e75 Switched share button icon to Font Awesome 2022-05-31 23:29:27 +02:00
Julian Prieber 7b67d8c1f6 Expanded theme background options
Added new blank divs to allow for more complex parralax and other backgrounds
2022-05-31 20:32:58 +02:00
Julian Prieber a0950990d4 Fixed Theme Credit page links 2022-05-31 14:47:29 +02:00
Julian Prieber f2103464d4 Fixed spacing 2022-05-31 14:16:05 +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 1fd768057f Update updater.blade.php 2022-05-31 12:32:36 +02:00
Julian Prieber b445eb85ff Re-implemented footer hover animations 2022-05-30 23:10:08 +02:00
Julian Prieber 42c284e865 Update button-editor.blade.php 2022-05-30 18:10:35 +02:00
Julian Prieber 5a389dd243 Re-implemented entrance animation 2022-05-30 17:52:12 +02:00
Julian Prieber cfd7445766 Fixed animation timing 2022-05-30 17:47:31 +02:00
Julian Prieber 39f322bd86 Added custom animation support to Themes 2022-05-30 17:29:14 +02:00
Julian Prieber 217201fa66 Update users.blade.php 2022-05-30 15:18:17 +02:00
Julian Prieber 35f59acf91 Update users.blade.php 2022-05-30 15:11:01 +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 dfe0a0326b Update update.blade.php 2022-05-30 12:10:11 +02:00
Julian Prieber 336427b278 Update update.blade.php 2022-05-30 12:07:07 +02:00
Julian Prieber 2f2ad0839b Update update.blade.php 2022-05-30 11:48:05 +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 5b73de7584 Update update.blade.php 2022-05-30 10:50:01 +02:00
Julian Prieber d1d8586b32 Update update.blade.php 2022-05-30 10:42:40 +02:00
Julian Prieber 15b2a03035 Update sidebar.blade.php 2022-05-28 16:32:53 +02:00
Julian Prieber abe3a993b1 Update sidebar.blade.php 2022-05-28 16:07:19 +02:00
Julian Prieber 4739567743 Update sidebar.blade.php 2022-05-28 15:52:45 +02:00
Julian Prieber 0e257ef8ab Updated update notification system
Made NOTIFY_UPDATES=all and NOTIFY_UPDATES=major use the same version source file to prevent GitHub API limit from being reached.
2022-05-28 15:49:29 +02:00
Julian Prieber c21db40809 Added beta support to updater 2022-05-28 14:03:49 +02:00
Julian Prieber 8b7929dfa8 Update update.blade.php 2022-05-26 12:12:29 +02:00
Julian Prieber 909c11263f Update update.blade.php 2022-05-26 11:40:13 +02:00
Julian Prieber f60ff94f6d Update pages.blade.php 2022-05-26 11:21:55 +02:00
Julian Prieber 0deca1f257 Update update.blade.php 2022-05-26 11:16:46 +02:00
Julian Prieber d9bd9d6307 Update updater.blade.php 2022-05-26 11:10:33 +02:00
Julian Prieber 84b365958f Update update.blade.php 2022-05-26 11:10:05 +02:00
Julian Prieber 387b67db1d Update sidebar.blade.php 2022-05-25 23:19:29 +02:00
Julian Prieber df384df2cf Update sidebar.blade.php 2022-05-25 23:15:34 +02:00
Julian Prieber 122d9e31e6 Update update.blade.php 2022-05-25 22:09:54 +02:00
Julian Prieber 8f09d399cd Update update.blade.php 2022-05-25 21:26:57 +02:00
Julian Prieber dde1185075 Update update.blade.php 2022-05-25 20:53:32 +02:00
Julian Prieber 7927d8e021 Update update.blade.php 2022-05-25 17:05:19 +02:00
Julian Prieber dc32587dee Update updater.blade.php 2022-05-25 17:04:47 +02:00
Julian Prieber 7360bd37de Update update.blade.php 2022-05-25 17:00:21 +02:00
Julian Prieber d1f9bffc07 Update sidebar.blade.php 2022-05-25 16:27:06 +02:00
Julian Prieber 1fd71f1727 Update updater.blade.php 2022-05-25 16:22:14 +02:00
Julian Prieber 694ea93d51 Update update.blade.php 2022-05-25 16:19:20 +02:00
Julian Prieber be76c31f2d Update update.blade.php 2022-05-25 11:52:57 +02:00
Julian Prieber 634ecb5063 Update update.blade.php 2022-05-24 17:26:12 +02:00
Julian Prieber 07664d4bbc Update update.blade.php 2022-05-24 16:13:00 +02:00
Julian Prieber 4747c42ea2 Update updater.blade.php 2022-05-24 15:38:52 +02:00
Julian Prieber d5467e909e Update update.blade.php 2022-05-24 15:30:22 +02:00
Julian Prieber 5e5f575d06 Update updater.blade.php 2022-05-24 15:30:10 +02:00
Julian Prieber 283ed2c4bf Added updater backend
https://github.com/codedge/laravel-selfupdater
2022-05-24 15:29:36 +02:00
Julian Prieber edd7397239 Added backup backend
https://github.com/spatie/laravel-backup
2022-05-24 15:27:44 +02:00
Julian Prieber 496b4755b6 Added route 2022-05-24 15:23:10 +02:00
Julian Prieber 26275c152d "Reset to default" button now works with themes
The reset to default button on the Button Editor now works with custom theme buttons.
2022-05-20 16:15:14 +02:00
Julian Prieber ae1d5a85bd Added "download more themes" button 2022-05-20 11:59:16 +02:00
Julian Prieber 074ef2060f Now hiding app name in page title if ll page is set as home page 2022-05-19 17:16:21 +02:00
Julian Prieber fab724a09d
Merge pull request #62 from JulianPrieber/main
Update footer.blade.php
2022-05-19 12:29:33 +02:00
Julian Prieber 6c04067d24
Update footer.blade.php 2022-05-19 12:28:41 +02:00
Julian Prieber 0623352217
Update littlelink.blade.php 2022-05-19 12:27:37 +02:00
Julian Prieber 5a02ceaaec
Update footer.blade.php 2022-05-18 21:57:36 +02:00
Julian Prieber 592dde4b2a Added support for custom themes 2022-05-18 21:08:58 +02:00
Julian Prieber 7395ed8f0e
Update index.blade.php 2022-05-17 16:49:51 +02:00
Julian Prieber 04cfbcabc7 Update page.blade.php 2022-05-15 13:22:59 +02:00
Julian Prieber a8dec6ff9e Update edit-user.blade.php 2022-05-15 11:43:11 +02:00
Julian Prieber d6a6a7ca43 Update littlelink.blade.php 2022-05-15 11:38:43 +02:00
Julian Prieber 6338397ed9 Update page.blade.php 2022-05-15 11:34:02 +02:00
Julian Prieber 376fbd32af Update page.blade.php 2022-05-15 11:09:56 +02:00
Julian Prieber 1d4b560307 Updated plugins text editor 2022-05-14 20:25:28 +02:00
Julian Prieber 4243f99283 Optimized home page logo
Optimized home page logo for mobile devices and scalable resolutions. Replaced "ll" SVG with custom font for better centering.
2022-05-14 16:03:33 +02:00
Julian Prieber 4de0761e7c Fixed users being able to add a profile image with no page name 2022-05-13 19:35:13 +02:00
Julian Prieber 38d6d64ecf Enabled optional use of custom HTML for ll page
Enabled users to use custom HTML formatting for their personal page descriptions.

Due to security reasons, this option is turned off by default. This setting can be enabled in the config.
2022-05-13 18:10:43 +02:00
Julian Prieber 7e74f2b7df Update config.js 2022-05-13 17:44:17 +02:00
Julian Prieber 75272814a6 Added 'lineheight' option to text editor 2022-05-13 17:39:23 +02:00
Julian Prieber ee37d4a540 Added 'justify text' option to text editor 2022-05-13 17:29:36 +02:00
Julian Prieber 771a03bcaa Made footer page texts not centered 2022-05-13 17:09:35 +02:00
Julian Prieber d5418256a9 Added dark/light mode override to ll and home page 2022-05-13 14:06:12 +02:00
Julian Prieber 1eb92e56b2 Added dark mode toggle for Admin/User Panel
A simple toggle switch that sets an override cookie with JavaScript.

The cookie is still read with PHP/blade.
2022-05-13 13:03:10 +02:00
Julian Prieber fe81015483 General optimization of home page
See: https://i.imgur.com/N6pNlou.png
2022-05-13 00:12:01 +02:00
Julian Prieber ba62dd0e77 Update littlelink.blade.php 2022-05-13 00:09:28 +02:00
Julian Prieber fa3de262cb General optimization of ll page
See: https://i.imgur.com/N6pNlou.png
2022-05-12 23:54:05 +02:00
Julian Prieber 833e57a5e6 Increased profile and logo image size 2022-05-12 22:55:34 +02:00
Julian Prieber c48bf69ec6 Made share button more mobile friendly 2022-05-12 22:03:29 +02:00
Julian Prieber 9d368ef9cb Switched to dark mode detection via CSS instead of JavaScript
Switched to dark mode detection via CSS instead of JavaScript on users LittleLink pages and the home page.

I decided to use this approach instead of the previous JavaScript version. This means that a manual switch to change between light and dark mode by user won't be added.
2022-05-12 20:17:48 +02:00
Scott Clark 62ecf52fca
Update littlelink.blade.php
display contents of $littlelink_name in contact card
2022-05-12 14:05:24 +01:00
Julian Prieber bdf1e7413c Updated 'no page URL' notice 2022-05-10 12:38:26 +02:00
Julian Prieber 7fe0da219c Update links.blade.php 2022-05-09 17:46:20 +02:00
Julian Prieber 5ee5505b0d Added noopener, noreferrer, nofollow to user generated links
Added noopener, noreferrer and nofollow to user generated links to prevent users abusing the link system for malicious purposes.

Also, this is the 400th commit  🎉
2022-05-07 17:38:49 +02:00
Julian Prieber 7166a5f81f Updated back button 2022-05-07 16:40:21 +02:00
Julian Prieber cdfa580d36 Fixed Config Editor not working
Fixed Config Editor not working see https://github.com/JulianPrieber/littlelink-custom/issues/51
2022-05-07 16:23:25 +02:00
Julian Prieber 5b63080f8c Added custom spaces and headings
Added custom spaces and headings users can add like buttons to their littlelink pages to divide button sections into groups.

Spaces can be changed via the number in the title, and one space equals one "<br>". The maximum spaces that can be added with one space 'button' is capped at 10.

The 'Space' button will be replaced with an empty space, so buttons could be visually separated into groups. Entering a number between 1-10 in the title section will change the empty space's distance.

The 'Heading' button will be replaced with a sub-heading, where the title defines the text on that heading.
2022-05-06 15:26:39 +02:00
Julian Prieber a65509bd58
Update register.blade.php
Added option to override registration, even if disabled with the setting in the database.

This is something that probably 99.999% of users will never need, but I really need a function like this for my personal instance.
If "REGISTER_OVERRIDE=true" is added to the .env config file, users will be able to register no matter what is set with the setting in the database. This is useful if two LittleLink Custom instances access the same database, but one should allow registration and the other should not.

If this causes any errors in the future, I will remove this.
2022-05-05 15:11:35 +02:00
Julian Prieber 8638072acb
Update littlelink.blade.php 2022-05-05 12:31:16 +02:00
Julian Prieber 53c5fb618b Update add-link.blade.php
Added 'see all links' button
2022-05-04 11:03:24 +02:00
Julian Prieber b7a5a0ab73 Update littlelink.blade.php
Enabled button editor edits to apply to custom website buttons.
2022-05-04 10:40:36 +02:00
Julian Prieber c7925f1f1a Update links.blade.php
Added 'Add link' button.
2022-05-04 10:33:59 +02:00
Julian Prieber 53fa0f98b5 Update links.blade.php
Removed 'beta' text
2022-05-04 10:14:04 +02:00
Julian Prieber cb75a24e92 Update button editor
Added functionality for custom website button. Made button editor optional to use.
2022-05-04 10:12:01 +02:00
Julian Prieber 845327a628 Updated button-editor 2022-05-04 00:40:41 +02:00
Julian Prieber 08da6fa960 Updated button editor
A bit of optimization. Everything kinda scales to mobile now. Everything still looks terrible tho.
2022-05-04 00:19:29 +02:00
Julian Prieber 4eec538834
Update sidebar.blade.php
Adds the ability to insert code snippets into the head and body element laid out by the sidebar with blade by including:

@push('stylesheets')
    <!-- your code -->
@endpush

@push('scripts')
    <!-- your code -->
@endpush
2022-05-03 23:27:37 +02:00
Julian Prieber 0cba21bee8
Update profile.blade.php
Allows admins to change their email regardless if email auth is enabled or not.
2022-05-02 21:49:10 +02:00
Julian Prieber 8555a8eeef
Update home.blade.php
Added option to override registration, even if disabled with the setting in the database.

This is something that probably 99.999% of users will never need, but I really need a function like this for my personal instance.
If "REGISTER_OVERRIDE=true" is added to the .env config file, users will be able to register no matter what is set with the setting in the database. This is useful if two LittleLink Custom instances access the same database, but one should allow registration and the other should not.

If this causes any errors in the future, I will remove this.
2022-05-02 21:41:02 +02:00
Julian Prieber 087868c4e1
Changed title to name on ll page
Changed title to name on littlelink page
2022-04-28 17:32:43 +02:00
Julian Prieber eb96bb823e
Fixed text width on ll page
Fixed text width on littlelink page.

This might be a temporary fix. This essentially limits the width of the description text.
2022-04-28 17:12:21 +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 243e4b55c6
Update profile.blade.php 2022-04-27 13:16:17 +02:00
Julian Prieber 8f2c30d648 Update index.blade.php 2022-04-20 18:32:21 +02:00
Julian Prieber 43cca4b191 Added security check sidebar
Added a security check on the sidebar.blade.php that tests if critical config components are accessible externally by anyone.

This is a fairly crude method and not at all optimized. I might change this in future revisions. At least this feature is disabled for normal users, so it won't affect load for non admins. This is the same code from the new diagnostic tool added in the previous commit. I had to change the names of each variable, otherwise the diagnostic tool could not use the same variables. The smart thing to do here would probably be to simply use the variables only in the sidebar, since they are loaded anyway since the sidebar layout is included on the diagnostic tool, effectively loading the variables twice. I might change this later, but for now I will leave it as.

Read more about the diagnostic tool on the blog here: https://blog.littlelink-custom.com/new-security-check-tool/
2022-04-20 18:18:41 +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 021029d441
Updated Bootstrap Icons 2022-04-20 00:39:15 +02:00
Julian Prieber 70e02e43d7 Made buttons on home page display only
Changed buttons on the default home page to not be clickable anymore by changing the 'a' tags into divs.
2022-04-18 23:53:07 +02:00
Julian Prieber 550a59587a Added custom color for custom icon
This addition is mega janky. Essentially, if a color code (e.g. white; or #FFFFFF;) is entered before the custom icon, this will change the custom icon's color. Essentially, this just pastes the custom color database entry as a style element on the icon.

I will use this until I find a proper solution for this problem.

For custom icons:
See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-13 23:47:27 +02:00
Julian Prieber 851752ccfa Update littlelink.blade.php
Switched to Font Awesome kit.

See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-13 19:08:09 +02:00
Julian Prieber a57d206f3c Now displaying profile name as title
User's profile names are now used as the title and heading for their LittleLink pages. Previously the '@name' was used for this, so for example the page name x.com/@admin is now not tied to the @admin part anymore, so a space could be used in the name for example.

See an example of this here: https://i.imgur.com/iBS8Hsm.png
2022-04-13 13:05:01 +02:00
Julian Prieber b50d334557 Changed spelling 2022-04-12 00:12:00 +02:00
Julian Prieber f5725bb059 Added custom icons to LittleLink page
Enabled custom buttons on LittleLink pages to now use the upcoming custom icons from the new Button Editor. The Custom button now uses Font Awesome icon by default. 

I used the Font Awesome library provided and hosted by Cloud Flare. I can include the library locally if this is preferred, contact me on our discord if I should implement this.

See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-11 13:56:36 +02:00
Julian Prieber a53087f7a6 Enabled custom CSS to be applied
Enabled custom CSS to be applied to buttons on the LittleLink page.
CSS that is entered in the database will be applied directly to buttons.
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-07 15:56:02 +02:00
Julian Prieber 877dd8373f Added option to only notify about important updates
Added option to only notify about major updates. This setting is now the default and can be changed in the config by changing the setting "NOTIFY_UPDATES" from "major" to "all".

This setting was achieves by turning the previous if statement into an if-else statement with the new option. For this, I utilized a function that gets the latest tag from the GitHub repository.

I wasn't able to implement the 'if URL exists' check, the URL would just not return an error negating the function. I will probably fix this in the future, but as it is now, if the GitHub API server can't be reached this might trow an error.

The major release is still the previous update version retreated from the GitHub repository. This means I will only update that version for major or otherwise important updates. 

I implemented this feature because I didn't want to spam new users with a new update notification every other day.
2022-04-04 17:46:32 +02:00
Julian Prieber 05c99947af Updated 'More information' message 2022-03-31 22:59:39 +02:00
Julian Prieber 518d82125e Change email option is now hidden if email auth is enabled
Added if statement that hides the option for users to change their email if email registration authentication is enabled (which it is by default).
2022-03-31 21:33:58 +02:00
Julian Prieber 56643ed068 Fixed bug 'profile changes not applying'
Fixed a bug where users were unable to change name, email or password unless every value was changed at once.
2022-03-31 21:31:00 +02:00
Julian Prieber 0aa99064eb Fixed fadein class for home message 2022-03-31 14:06:58 +02:00
Julian Prieber 10b902f108 Added share button to LittleLink pages
Added share button that is displayed on user's personal pages that if clicked either copies the profile URL or opens a share dialog window depending on the browser and operating system.

Read the blog post about this topic here: https://blog.littlelink-custom.com/share-button
2022-03-29 23:08:06 +02:00
Julian Prieber 805e71b886 Update footer.blade.php 2022-03-29 17:45:48 +02:00
Julian Prieber 8fdc1a7f74 Fixed spacing on custom links added by text editor
Fixed word spacing bug in texts added by the new page editor. This bug caused inserted links to have extended spacing between words.

This 'bug' was a previous feature added to display links further apart for easier readability. The feature didn't scale well with the newly added page editor which allowed users to add their own links to edited texts, causing the bug.

The extended spacing was achieved with the 'padding' CSS tag. I simply removed the tag from all an HTML tags and made it into its own class, 'spacing'. I added the class to every element on the site that previously depended on this tag.
2022-03-29 16:27:50 +02:00
Julian Prieber cf66be63cb Fixed 'Edit User' changes not applying
Fixed bug where if a user was edited on the Admin Panel under 'Admin>Users> Edit User' changes would not apply without every value being changed.

This bug originates from LittleLink Admin (the fork of which this fork is based on).

One part of this issue was that most fields were required to fill in. If only one would be left, empty, none would apply. The problem was if this requirement was removed, the password would always overwrite the current password, even when left empty.
This meant you could only edit users if you knew their password, otherwise their passwords would be changed, probably preventing that user from login in ever again.

After some experimenting, I implemented the easiest fix I could come up with. A simple if-else statement that checks if the password field is empty and if so only saves the other parameters without touching the password. If the password is changed, the changes will be applied normally.

Also fixed the profile image size for the default placeholder image.
2022-03-28 19:54:17 +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 393e18a3c9 Added visual HTML editor
Added visual HTML editor for editing HTML on the footer and home pages. This editor is based on the open source CKEditor a Smart Visual Text Editor for HTML coded in JavaScript.

Read the Blog post about this topic for more info about this feature here: https://blog.littlelink-custom.com/visual-html-editor/
2022-03-23 13:57:20 +01:00
Julian Prieber b916ac66bc Edit Pages now supports custom HTML formatting
The page editor found on the Admin Panel at Admin>Pages where you can edit the footer pages now supports custom HTML formatting.
2022-03-23 10:38:47 +01:00
Julian Prieber b6efcde8a5 Added dark mode for credit footer
Lazy quick fix
2022-03-22 10:17:47 +01:00
Julian Prieber 18392ed409 Improved responsiveness 2022-03-21 23:29:42 +01:00
Julian Prieber 0aba49dec8 Improved responsiveness 2022-03-21 23:28:00 +01:00
Julian Prieber a290e78000 Added footer / credit option
Added a footer and a credit options. Both can be turned off in the config.
2022-03-21 23:11:49 +01:00
Julian Prieber 6f94f40636 Added no Page URL message
Added no Page URL message to the Admin and User panel
2022-03-21 16:46:35 +01:00
Julian Prieber aac19d17f4 Bugfixes
Fixed problems in .env and database seeder
2022-03-21 15:37:55 +01:00
Julian Prieber bf39efddf4
Update sidebar.blade.php 2022-03-21 09:13:10 +01:00
Julian Prieber e319301b51
Added hide event option
Added option to hide Events. Next to all event notifications, an "X" will now be displays, which hides the notification if clicked until a new event notification is shown. This works by setting a cookie with the ID of the event notification. Learn more about this on the Blog post here: https://blog.littlelink-custom.com/hide-event-option/
2022-03-20 23:43:27 +01:00
Julian Prieber 4babe1fe2e Made update notification optional / Added Event notification
Added optional event notification that can be enabled in the config (is disabled by default).

You can read more about this feature on the Blog here: https://blog.littlelink-custom.com/event-notifications/
2022-03-20 17:15:16 +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
Julian Prieber 98bc1d0172 Changed update server
Changed the update server URL to the version.json hosted on GitHub.
2022-03-19 17:16:33 +01:00
Julian Prieber fa4f4f1441 Added email verification
Added email verification after user registration. After a user registered, an email is sent to the email used to sign up. The mail contains a verification link which is required to complete the registration process.

This feature can be turned off in the Admin Panel under: Admin>Config by changing the setting "Register_auth" from "verified" to "auth".

Read more about this on the Blog here: https://blog.littlelink-custom.com/optional-email-verification/
2022-03-19 16:48:21 +01:00
Julian Prieber 310a37c446 Fixed CSS class 2022-03-18 15:30:44 +01:00
Julian Prieber bcc5050c35 Added Custom Website button
Added new Custom Website button which visually looks similar to the previously added Website button with an except of the icon of the new button being the favicon of the chose link. The text on the button is set with the button title, just like the Custom button.

The favicon request is performed via the Google API. The icon displays correctly in most cases, with some exceptions. I might add a function later on that displays a generic icon if no icon was found.
2022-03-18 14:59:45 +01:00
Julian Prieber 35b487d48a
Fixed SQLSTATE Exception 2022-03-18 13:34:41 +01:00
Julian Prieber 7fb6068d49 Made link title optional
Made link title (previously required) optional when adding personal LittleLink links on the User/Admin Panel.
If the 'Title' field is left empty, the button name is now used instead of rejecting the addition.
2022-03-18 12:04:13 +01:00
Julian Prieber fe7fc9f714 Updated Domain 2022-03-17 21:28:26 +01:00
Julian Prieber 09bd0aed96 Added new buttons
Added new 'Buy me a Coffee' and 'generic Website' buttons
2022-03-17 21:19:30 +01:00
Julian Prieber 1d2df13b0f Added footer to Admin Panel
I re-enabled the footer disabled by Latuminggi's LittleLink Admin fork. This footer adds a Home button which brings you to the landing page, in addition to Terms, Privacy and Contact buttons.

I also edited the policy pages for the buttons named above to include the new logo as well as the dark mode detection.
2022-03-17 17:33:37 +01:00
Julian Prieber fef2e09aa9 Added built in Config Editor
LittleLink Custom now includes an .env config editor. This editor can be accessed via the Admin Panel under Admin>Config.
This editor allows admins to edit, backup, download and upload the .env configuration file. All in all, the new feature, allows users to more easily edit the configuration file, contributing to my goal of making LittleLink Custom easier to use.

Read more about this topic on the Blog https://blog.littlelink-custom.com/built-in-config-editor
2022-03-16 14:16:03 +01:00
Julian Prieber 0aaa86224e Built in SMTP server
LittleLink Custom now includes an open and free to use SMTP server. Mails from this service may only be used for password recovery and registration purposes involving users personal LittleLink Custom or LittleLink Admin pages.
Users of this service must abide by our Terms and Conditions found at https://llc-mail.tru.io/.

Motivations for this are explained on my blog post about this topic, which you can read here: https://blog.littlelink-custom.com/littlelink-custom-mail-server/
2022-03-16 13:03:43 +01:00
JulianPrieber 907a3116bb Fixed dark mode not applying on first visit
This 'bug' was caused due to the way the dark mode was applied. The dark mode detection detects the preferred theme style from the client and then saves the preferred type with a cookie, all with JavaScript. Then a simple PHP if-else statement loads either the dark or light mode CSS theme, depending on the cookie.

The problem here was that the cookie would only be detected if the page was refreshed, so once the cookie was set, the dark mode was applied every time without a problem. But the first time a user visited the site and the preferred theme was set to dark mode, the page would still display the white version until the page was refreshed.

Now, I could have changed how the page applies the dark mode, however I decided against that and went with this commit instead.

Now I'm not really experienced with JavaScript at all, so this definitely could have been solved in a more elegant way, but this is what I did:

I added a bit to the JavaScript that sets and reads the cookie. When the page finished loading, a simple if statement is run that requires the following conditions: 
The URL contains a '#' and the color scheme equals 'dark' and the cookie isn't set yet. 
After these conditions are met, '#dark' is added to the URL and the page will be refreshed.

This refresh is only performed without the cookie, thus only refreshing the page on the first visit if the dark mode would be applied.

The '#dark' is only added to the URL to fail the first requirement of the if statement, preventing the page from being reloaded in an infinite loop. Otherwise, the  '#dark' part of the URL fulfills no purpose and only the '#' part is required, so it doesn't even matter what comes after the hash. I just chose this for clarification.

If the dark mode cookie is blocked by the user, the page will be set to light mode and refreshed every time they visit but the '#dark' will still be added to the URL, preventing the infinite refresh-loop.
2022-03-03 10:49:10 +01:00