Commit Graph

46 Commits

Author SHA1 Message Date
Julian Prieber 42c284e865 Update button-editor.blade.php 2022-05-30 18:10:35 +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 592dde4b2a Added support for custom themes 2022-05-18 21:08:58 +02:00
Julian Prieber 04cfbcabc7 Update page.blade.php 2022-05-15 13:22:59 +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 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 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 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 53c5fb618b Update add-link.blade.php
Added 'see all links' button
2022-05-04 11:03:24 +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 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 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 b50d334557 Changed spelling 2022-04-12 00:12:00 +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 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 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 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
JulianPrieber ec88a74889 Fixed bug/simplified setup
Fixed bug where users littlelink pages (domain.com/@username) would display a 404 error. This was caused due to the .env config file not containing an App URL. This issue could be solved by simply adding a URL to the config, this is now not necessary anymore, making the setup process easier and less confusing. 

I changed every instance of "{{ config('app.url') }}" to  "{{ url(' ') }}". This effectively automatically uses the correct URL for LittleLink links, even if LittleLink Custom is set up in a subdirectory.

In my testing, I couldn't find any problems this might have caused, so this appears to do the job just as well as setting the URL in the config. If I find any issues with this, I will revert this change.
2022-02-27 19:33:19 +01:00
JulianPrieber 0d55159b07
fixed logo.svg 2022-02-20 14:45:34 +01:00
JulianPrieber 96cfd5b4c1 Changed logo
As part of the new logo (https://github.com/JulianPrieber/littlelink-custom/milestone/1) I'm now using the new 'logo.svg' vector logo.

For this, I added an if-else statement in most cases, which first check for a custom logo uploaded by the admin or the avatar of an individual user. If the image doesn't exist, the default logo (logo.svg) is used.
2022-02-20 13:12:25 +01:00
JulianPrieber 514e779025
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:56:50 +01:00
aprillio a28b285334 make links click number and order right aligned 2021-07-06 17:50:38 +07:00
aprillio e7ad5fcb42 string limit link and title in studio links 2021-07-06 17:20:58 +07:00
aprillio c95db56a40 update studio edit profile blade 2021-07-06 15:53:28 +07:00
aprillio 3c2f555df5 update studio edit page blade 2021-07-06 15:53:14 +07:00
aprillio c5bff25413 update studio links list blade 2021-07-06 15:52:40 +07:00
aprillio 9a3b44d4a9 update studio index blade 2021-07-06 15:52:17 +07:00
aprillio 8889acbf3a update studio edit link blade 2021-07-06 15:52:07 +07:00
aprillio d9a27466e9 update studio add link blade 2021-07-06 15:51:16 +07:00
Khashayar Zavosh bfeddce3ba fix: show & auth user with littlelink_name 2021-04-18 22:13:43 +04:30
Khashayar Zavosh 24db7cbbfb admin littlelink 2021-04-16 03:30:00 +04:30