Commit Graph

384 Commits

Author SHA1 Message Date
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 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 5586a17b51
Merge pull request #47 from JulianPrieber/dependabot/composer/laravel/framework-8.83.11
Bump laravel/framework from 8.83.10 to 8.83.11
2022-05-03 18:38:37 +02:00
Julian Prieber 6401599e87
Merge pull request #48 from JulianPrieber/dependabot/composer/laravel/sail-1.14.1
Bump laravel/sail from 1.14.0 to 1.14.1
2022-05-03 18:38:28 +02:00
dependabot[bot] f7d1213008
Bump laravel/sail from 1.14.0 to 1.14.1
Bumps [laravel/sail](https://github.com/laravel/sail) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/laravel/sail/releases)
- [Changelog](https://github.com/laravel/sail/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/sail/compare/v1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: laravel/sail
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 16:37:40 +00:00
dependabot[bot] 95b986a401
Bump laravel/framework from 8.83.10 to 8.83.11
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.83.10 to 8.83.11.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/9.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/framework/compare/v8.83.10...v8.83.11)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 16:37:11 +00:00
Julian Prieber 96654e9a8a
Update README.md 2022-05-03 16:20:40 +02:00
Julian Prieber db23e40d71
Update README.md 2022-05-03 16:19:48 +02:00
Julian Prieber 5e0f32c673
Update README.md 2022-05-03 16:12:02 +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 8555a8eeef
Update home.blade.php
Added option to override registration, even if disabled with the setting in the database.

This is something that probably 99.999% of users will never need, but I really need a function like this for my personal instance.
If "REGISTER_OVERRIDE=true" is added to the .env config file, users will be able to register no matter what is set with the setting in the database. This is useful if two LittleLink Custom instances access the same database, but one should allow registration and the other should not.

If this causes any errors in the future, I will remove this.
2022-05-02 21:41:02 +02:00
Julian Prieber 5cf80b0eb3
Merge pull request #43 from JulianPrieber/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2022-04-29 14:39:58 +02:00
Julian Prieber 9deff687d1
Create CODE_OF_CONDUCT.md 2022-04-29 14:39:46 +02:00
Julian Prieber 5b1a86ef0c
Update README.md 2022-04-28 18:44:09 +02:00
Julian Prieber 2301219e8d
Update README.md 2022-04-28 18:43:34 +02:00
Julian Prieber 39cfa51f0d
Update README.md 2022-04-28 18:39:53 +02:00
Julian Prieber 6e31fc20b7
Merge pull request #39 from JulianPrieber/dependabot/composer/laravel/framework-8.83.10
Bump laravel/framework from 8.83.9 to 8.83.10
2022-04-28 18:32:20 +02:00
Julian Prieber 3659191c90
Merge pull request #40 from JulianPrieber/dependabot/composer/laravel/sail-1.14.0
Bump laravel/sail from 1.13.10 to 1.14.0
2022-04-28 18:32:10 +02:00
dependabot[bot] f09b976342
Bump laravel/sail from 1.13.10 to 1.14.0
Bumps [laravel/sail](https://github.com/laravel/sail) from 1.13.10 to 1.14.0.
- [Release notes](https://github.com/laravel/sail/releases)
- [Changelog](https://github.com/laravel/sail/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/sail/compare/v1.13.10...v1.14.0)

---
updated-dependencies:
- dependency-name: laravel/sail
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 16:30:18 +00:00
dependabot[bot] 6e2d3d4d79
Bump laravel/framework from 8.83.9 to 8.83.10
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.83.9 to 8.83.10.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/9.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/framework/compare/v8.83.9...v8.83.10)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 16:30:01 +00:00
Julian Prieber 087868c4e1
Changed title to name on ll page
Changed title to name on littlelink page
2022-04-28 17:32:43 +02:00
Julian Prieber eb96bb823e
Fixed text width on ll page
Fixed text width on littlelink page.

This might be a temporary fix. This essentially limits the width of the description text.
2022-04-28 17:12:21 +02:00
Julian Prieber 3994c1a64f
Fixed custom Home URL 2022-04-28 16:54:57 +02:00
Julian Prieber 915fcf102b
Update README.md 2022-04-28 14:43:41 +02:00
Julian Prieber f6c1db7c50 minor fixes 2022-04-27 21:06:51 +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 aadd01c4a2
Fixed Integrity constraint violation: 19 UNIQUE 2022-04-25 20:30:25 +02:00
Julian Prieber d2bda28105
Update README.md 2022-04-24 15:15:10 +02:00
Julian Prieber 5d74bcd2a0
Update README.md 2022-04-23 17:27:13 +02:00
Julian Prieber 8f2c30d648 Update index.blade.php 2022-04-20 18:32:21 +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 89f8361edd Added security check tool
Added new security check tool. This tool is a new page that displays diagnostic information about your LittleLink Custom installation.

Previously, installing LittleLink Custom on NGINX or other platforms that do not support .htaccess functionality presented a significant security risk if not configured properly. This tool simply shows if critical system files can be accessed externally by anyone. In addition, information about writing access to important files or directories is displayed here.

Read more about this feature on the blog here: https://blog.littlelink-custom.com/new-security-check-tool/
2022-04-20 17:31:38 +02:00
Julian Prieber 021029d441
Updated Bootstrap Icons 2022-04-20 00:39:15 +02:00
Julian Prieber a66f777f15
Merge pull request #31 from JulianPrieber/dependabot/npm_and_yarn/async-2.6.4
Bump async from 2.6.3 to 2.6.4
2022-04-19 21:18:04 +02:00
dependabot[bot] 71f9f77d66
Bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 19:17:45 +00:00
Julian Prieber 9d157a5ab9
Merge pull request #29 from JulianPrieber/dependabot/composer/laravel/sail-1.13.10
Bump laravel/sail from 1.13.9 to 1.13.10
2022-04-19 21:16:37 +02:00
Julian Prieber 1dcb4d5e9e
Merge pull request #30 from JulianPrieber/dependabot/composer/laravel/framework-8.83.9
Bump laravel/framework from 8.83.8 to 8.83.9
2022-04-19 21:16:22 +02:00
dependabot[bot] 51ad38b7ea
Bump laravel/framework from 8.83.8 to 8.83.9
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.83.8 to 8.83.9.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/9.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/framework/compare/v8.83.8...v8.83.9)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 16:39:17 +00:00
dependabot[bot] f19a114bd7
Bump laravel/sail from 1.13.9 to 1.13.10
Bumps [laravel/sail](https://github.com/laravel/sail) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/laravel/sail/releases)
- [Changelog](https://github.com/laravel/sail/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/sail/compare/v1.13.9...v1.13.10)

---
updated-dependencies:
- dependency-name: laravel/sail
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 16:39:04 +00:00
Julian Prieber 70e02e43d7 Made buttons on home page display only
Changed buttons on the default home page to not be clickable anymore by changing the 'a' tags into divs.
2022-04-18 23:53:07 +02:00
Julian Prieber 550a59587a Added custom color for custom icon
This addition is mega janky. Essentially, if a color code (e.g. white; or #FFFFFF;) is entered before the custom icon, this will change the custom icon's color. Essentially, this just pastes the custom color database entry as a style element on the icon.

I will use this until I find a proper solution for this problem.

For custom icons:
See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-13 23:47:27 +02:00
Julian Prieber 851752ccfa Update littlelink.blade.php
Switched to Font Awesome kit.

See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-13 19:08:09 +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 a57d206f3c Now displaying profile name as title
User's profile names are now used as the title and heading for their LittleLink pages. Previously the '@name' was used for this, so for example the page name x.com/@admin is now not tied to the @admin part anymore, so a space could be used in the name for example.

See an example of this here: https://i.imgur.com/iBS8Hsm.png
2022-04-13 13:05:01 +02:00
Julian Prieber d275a63281
Update README.md 2022-04-13 12:33:51 +02:00
Julian Prieber 4f39638d81
Merge pull request #27 from JulianPrieber/dependabot/composer/laravel/framework-8.83.8
Bump laravel/framework from 8.83.7 to 8.83.8
2022-04-12 21:39:00 +02:00