Commit Graph

68 Commits

Author SHA1 Message Date
Julian Prieber fc73453872 Added option to upload custom background image 2023-02-13 16:22:11 +01:00
Julian Prieber a92739c950 Update UserController.php 2023-02-09 20:32:19 +01:00
Julian Prieber 98933c784a Added page icon twitch 2023-02-09 20:30:23 +01:00
pey b794a2c7ab
Update UserController.php
updated to access to the user's role as a variable
2023-02-07 08:45:09 -05:00
Julian Prieber 85469283a6 Switched to IDs 2023-02-03 16:18:28 +01:00
Julian Prieber 369965f55f
Merge pull request #317 from JulianPrieber/image-id
Changed profile picture save method to use user id
2023-02-02 18:07:16 +01:00
Julian Prieber 6f6e260f4b Fixed for current system 2023-01-25 17:41:04 +01:00
Julian Prieber 590f5b45ad Added button to remove profile picture 2023-01-23 17:19:09 +01:00
Julian Prieber 5b23fa08de Changed profile picture save method to use user id
Changed profile picture to use user id instead of username to save it.

If merged, this will reset all current profile pictures on the instance.
2023-01-23 16:54:18 +01:00
Julian Prieber 26bd92fdc7 Bugfix
Fixed bug changes not applying when not changing littlelink name.
2023-01-23 16:30:29 +01:00
Julian Prieber 1950ba2a18 Now forcing usernames to be unique
Now forcing usernames to be unique in regard to capitalization.
2023-01-23 16:06:07 +01:00
Julian Prieber 972e7c7c96 Added Facebook page icon 2023-01-11 21:59:06 +01:00
Julian Prieber cdea1ea175 Bugfix 2022-12-06 23:12:32 +01:00
Julian Prieber 449bff98c0 Update UserController.php 2022-12-05 22:58:06 +01:00
Julian Prieber f189d83bf1 Added new social icons
+ bugfix
2022-12-05 21:22:06 +01:00
Julian Prieber 42d2fabd55 Multiuser support for social icons 2022-12-05 20:43:29 +01:00
Julian Prieber 34133543f1 Added link icons to littlelink page 2022-12-05 20:02:23 +01:00
Julian Prieber 9c2a91e0fc Added new block "Text" 2022-12-01 12:51: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 6422f78eda Removed URL from link query string 2022-11-25 16:50:11 +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 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 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 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 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 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