Commit Graph

1520 Commits

Author SHA1 Message Date
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
dependabot[bot] 991c0412e7
Bump laravel/framework from 8.83.7 to 8.83.8
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.83.7 to 8.83.8.
- [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.7...v8.83.8)

---
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-12 18:17:23 +00:00
Julian Prieber b50d334557 Changed spelling 2022-04-12 00:12:00 +02:00
Julian Prieber f5725bb059 Added custom icons to LittleLink page
Enabled custom buttons on LittleLink pages to now use the upcoming custom icons from the new Button Editor. The Custom button now uses Font Awesome icon by default. 

I used the Font Awesome library provided and hosted by Cloud Flare. I can include the library locally if this is preferred, contact me on our discord if I should implement this.

See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-11 13:56:36 +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 d880fa84d3 Added database migration for custom icons
Added database migration for the upcoming custom icons on the Button Editor.
See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-11 13:14:14 +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 cb4de3f863 Added route for button editor
Added routes for upcoming button editor.
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-10 17:40:37 +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 a53087f7a6 Enabled custom CSS to be applied
Enabled custom CSS to be applied to buttons on the LittleLink page.
CSS that is entered in the database will be applied directly to buttons.
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-07 15:56:02 +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 559ecbee21
Update 2021_03_18_082008_create_links_table.php 2022-04-06 13:58:17 +02:00
Julian Prieber 49679f2131 Added field for custom CSS to database
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-05 23:23:36 +02:00