Commit Graph

70 Commits

Author SHA1 Message Date
Julian Prieber 8350373262 Updated config editor 2022-11-17 15:07:06 +01:00
Julian Prieber f26a1336b9 Fixed bug while editing 2022-11-16 16:33:00 +01:00
Julian Prieber 11b5d09eb1 Update UserController.php 2022-11-14 11:37:30 +01:00
Julian Prieber 42069cce03 Update UserController.php 2022-11-14 09:33:21 +01:00
Julian Prieber 3564cfff74 Added protection against use of JS in users page description 2022-11-10 21:48:48 +01:00
Julian Prieber 4dd317b641 Update UserController.php 2022-11-10 19:55:46 +01:00
Julian Prieber 9c535873dd Update LinkTypeViewController.php 2022-11-10 19:42:34 +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 2132140c5f Fixed edit link defaulting to custom button 2022-11-10 18:21:59 +01:00
Julian Prieber ffdb0cff5d Update UserController.php 2022-11-10 16:51:56 +01:00
Julian Prieber 7dce109163 Update UserController.php 2022-11-09 18:07:50 +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
snicker 697ed3ce19 retrieve link url from database rather than request url
increases robustness and solve issues with sloppy redirect
interpretation across browsers
2022-09-24 11:01:09 -07:00
Julian Prieber 4c8f8283d9 Fixed GitHub API rate limit
For Theme Updater
2022-09-13 21:04:17 +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 0444297a6a Refactor code 2022-08-15 01:12:40 +05:30
Milan C cb613f6a05 Init Sortable links. 2022-08-15 00:35:26 +05:30
Julian Prieber 33fd0f7e10 Added option to adjust visible button count on edit link page 2022-08-05 17:29:49 +02:00
Julian Prieber 7eee9bc1a2 Update UserController.php 2022-08-02 00:34:18 +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 b835101292 Fixed mail links 2022-07-15 19:37:34 +02:00
Julian Prieber 564a9d160b Added phone number button 2022-07-15 17:46:26 +02:00
Julian Prieber 0afd520412 Update AdminController.php 2022-07-12 16:12:54 +02:00
Julian Prieber 49981c8c6c Now displaying user's emails on user page 2022-07-12 16:10:49 +02:00
Julian Prieber ceb65f6d17 Fixed SQLSTATE[23000]: Integrity constraint violation: 19 CHECK constraint failed when deleting user 2022-07-11 20:46:45 +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 8f6a4cdb30 Fixed bug
Fixed bug bricking your instance if you delete themes if no theme is left
2022-07-05 10:30:25 +02:00
Julian Prieber 1ee73d0554 Added option for deleting themes 2022-07-04 23:41:28 +02:00
Julian Prieber e4f682c3a1 Added page to download updater backups 2022-06-16 13:35:39 +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 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 592dde4b2a Added support for custom themes 2022-05-18 21:08:58 +02:00
Julian Prieber d0f024df84 Update UserController.php 2022-05-13 16:09:00 +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 845327a628 Updated button-editor 2022-05-04 00:40:41 +02:00
Julian Prieber 3994c1a64f
Fixed custom Home URL 2022-04-28 16:54:57 +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 aadd01c4a2
Fixed Integrity constraint violation: 19 UNIQUE 2022-04-25 20:30:25 +02:00
Julian Prieber 53805444aa Expanded controller for custom icon
Expanded user controller to save the custom icon of individual buttons for the Button Editor.

I wanted to put the saving part into its own controller, but I wasn't able to implement this because I couldn't put two controllers on one page via the route in web.php, and to my knowledge this is impossible. So I had to do some trickery to get this working. If I hadn't implemented the if-else statement, one value couldn't be saved without a NULL error violation.

This will be used to display a custom icon via Font Awesome.
See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-13 16:49:44 +02:00
Julian Prieber 978add4b7b Expanded controller for custom icon
Expanded user controller to get the custom icon of individual buttons as a variable for the Button Editor. This will be used to display a custom icon via Font Awesome.
See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-13 15:37:54 +02:00
Julian Prieber ba6ffe1808 Expanded controller for custom icon
Expanded user controller to get the custom icon of individual buttons as a variable on the LittleLink page. This will be used to display a custom icon via Font Awesome.
See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-11 13:31:11 +02:00
Julian Prieber 8fa1aa8e51 Expanded controller for button ID
Expanded user controller to get the button ID of individual buttons as a variable on the 'Links' page. This will be used to decide if the customize button prompt will be shown for the upcoming button editor.
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-11 13:06:34 +02:00
Julian Prieber c0a8c4150b Added controller for button editor
Added controller to display and edit custom CSS for the upcoming button editor.
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-10 17:42:29 +02:00
Julian Prieber c36e4b4b27 Fixed Integrity constraint violation
Fixed error exception, for now. Gonna add this functionality back in a separate controller.
2022-04-08 18:27:43 +02:00