81 Commits

Author SHA1 Message Date
Julian Prieber
c739d7b1b3 Fixed cURL error 7 on proxied server 2022-06-16 09:56:36 +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
a83d00a628 Added option to change footer links and texts 2022-06-09 12:33:23 +02:00
Julian Prieber
29bee9b62b Update sidebar.blade.php 2022-06-08 17:52:21 +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
3519a37217 Added BETA notice to sidebar 2022-06-01 18:36:53 +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
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
d9bd9d6307 Update updater.blade.php 2022-05-26 11:10:33 +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
dc32587dee Update updater.blade.php 2022-05-25 17:04:47 +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
4747c42ea2 Update updater.blade.php 2022-05-24 15:38:52 +02:00
Julian Prieber
5e5f575d06 Update updater.blade.php 2022-05-24 15:30:10 +02:00
Julian Prieber
496b4755b6 Added route 2022-05-24 15:23:10 +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
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
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
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
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
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
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
021029d441
Updated Bootstrap Icons 2022-04-20 00:39:15 +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
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
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