Julian Prieber
50bf79a800
Update findfile.php
2023-02-13 21:12:44 +01:00
Julian Prieber
d727455e96
Fixed error
...
Call to undefined function exif_imagetype() (View: /htdocs/resources/views/littlelink.blade.php)
2023-02-13 20:02:56 +01:00
Julian Prieber
5c73cc3c59
Added button to remove custom background image
2023-02-13 18:40:18 +01:00
Julian Prieber
c279661e0b
Added dark/light mode detection to background image
...
Only active on default theme
2023-02-13 18:10:13 +01:00
Julian Prieber
96c155c518
Custom background image file type
2023-02-13 17:18:32 +01:00
Julian Prieber
fc73453872
Added option to upload custom background image
2023-02-13 16:22:11 +01:00
Julian Prieber
3bc5b6418b
Bugfix
2023-02-13 14:47:47 +01:00
Julian Prieber
715726d330
Fixed 404 error when installing
...
https://github.com/JulianPrieber/littlelink-custom/issues/313
https://www.youtube.com/watch?v=VJpZMZOBeB0
2023-02-13 13:22:49 +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
4e97bae3e2
Change URL for footer pages
...
Change the URL for footer pages when footer page is renamed
2023-02-06 20:13:11 +01:00
Julian Prieber
85469283a6
Switched to IDs
2023-02-03 16:18:28 +01:00
Julian Prieber
ffb123c306
Update AdminController.php
2023-02-02 18:40:40 +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
2329d8345b
Added new helper function
...
Added new helper function to replace file_get_contents with curl.
2023-01-31 15:49:56 +01:00
Julian Prieber
ab1557110d
Disabling footer pages when inactive in config
...
Footer pages now return an error 404 when disabled in the config.
2023-01-31 15:10:51 +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
b9a371b924
Turned function findFile() into helper function
2022-12-22 09:51:19 +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
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
9c2a91e0fc
Added new block "Text"
2022-12-01 12:51:16 +01:00
Julian Prieber
fed93daf48
Added option to reset favicon and logo
2022-11-30 12:10:45 +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
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
80644a14b7
Updated first setup page
2022-11-23 22:09:59 +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
3b08b5b6d9
Disabling maintenance mode now forces application out of maintenance
2022-11-20 15:13:53 +01:00
Julian Prieber
b90a2245dc
Update AdminController.php
2022-11-17 21:32:47 +01:00
Julian Prieber
1d792ee963
Update AdminController.php
2022-11-17 21:22:06 +01:00
Julian Prieber
6a03987169
Update AdminController.php
2022-11-17 16:20:04 +01:00
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
Julian Prieber
abb463efa4
Added controller to save custom CSS
...
Added controller to display and save custom CSS on the edit-link page.
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-07 16:30:26 +02:00
Julian Prieber
1884cd2ab2
Added controller for custom CSS
...
Added controller to display custom CSS as a variable on the LittleLink page.
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-07 15:54:03 +02:00
Julian Prieber
5e5ce391b9
Added check, if added links end with "/"
...
Added check if added, or edited links end with "/". Previously if links were saved without this formatting applied an error exception would be thrown.
For this, I used the previously added functions to check if the link ends with the slash.
2022-03-31 22:45:51 +02:00
Julian Prieber
268c6557a1
Added check, if added links begin with "https"
...
Added check added, or edited links begin with https. Previously if links were saved without this formatting applied an error exception would be thrown.
For this I added two functions, one can check if a string ends with a certain string, the other checks if it ends with a certain string. The first function is used for the newly added check, the other one is planned to be used in a similar check in the future.
2022-03-31 22:43:01 +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
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