Commit Graph

53 Commits

Author SHA1 Message Date
Julian Prieber e47b35d5d9 Removed sections from Advanced Config 2023-01-12 22:28:51 +01:00
Julian Prieber 1f38010ef6 Updated .env 2023-01-09 18:13:59 +01:00
Julian Prieber 542afadd8b Fixed HTTPS links on reverse proxies
The force HTTPS option in the config now turns any link into HTTPS. This also works on reverse proxy setups.

The previous option in the config is now being replaced with the new option FORCE_ROUTE_HTTPS which redirects all routes and pages to HTTPS. This option should never be used behind a reverse proxy.

See issue: https://github.com/JulianPrieber/littlelink-custom/issues/216
2022-11-20 14:10:49 +01:00
Julian Prieber 522f8d0574 Update advanced-config.php 2022-11-12 13:07:54 +01:00
Julian Prieber 2955820c50 Update advanced-config.php 2022-11-11 20:38:42 +01:00
Julian Prieber 68f815613c set ALLOW_USER_HTML to true 2022-11-10 22:44:23 +01:00
Julian Prieber 64586cbe16
Merge pull request #207 from JulianPrieber/llc
change llc.bio to llc.ovh
2022-11-10 16:54:48 +01:00
Julian Prieber 314701dfaf Fixed changes in merged pull request
1279d478e2

@MagicLike
2022-11-10 13:46:10 +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
Julian Prieber e684be414d change llc.bio to llc.ovh 2022-10-25 12:07:37 +02:00
Julian Prieber f2918d3b24 Optimized use of profile URLs without prefix
(Set in advanced config)
2022-10-19 19:40:10 +02:00
Julian Prieber 874e8c94eb Added option to disable theme updater in config 2022-09-13 19:44:47 +02:00
Julian Prieber 25afd8f074 Added options to disable custom code in themes 2022-09-10 11:15:40 +02:00
Julian Prieber 45a607ea33 Added new option to .env config 2022-08-08 14:27:00 +02:00
Julian Prieber 2fe9519aaa Update advanced-config.php 2022-07-12 15:50:34 +02:00
Julian Prieber 3a69ebb6c7 Set FORCE_HTTPS to false 2022-07-05 00:09:40 +02:00
Julian Prieber 849e0864c5 Update default_settings 2022-07-05 00:07:48 +02:00
Julian Prieber 4b74298bf2 Update advanced-config.php 2022-07-05 00:04:00 +02:00
Julian Prieber 2102d88373 Update advanced-config-update-1.php 2022-07-05 00:03:25 +02:00
Julian Prieber 0df539c261 Added HTTPS redirection to env config 2022-06-30 10:39:40 +02:00
Julian Prieber d00998bdc1 Added option to disable password warning 2022-06-28 18:10:39 +02:00
Julian Prieber fd611155f9 Added section to Advanced Config 2022-06-27 16:29:50 +02:00
Julian Prieber e99bcaae70 Update advanced-config.php 2022-06-13 18:22:45 +02:00
Julian Prieber 773dcb1593 Update advanced-config.php 2022-06-10 16:36:50 +02:00
Julian Prieber b46fab95be Added new option to env config 2022-06-10 15:32:04 +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 76c484f018 Added option to change text on "Home" link 2022-06-09 17:41:44 +02:00
Julian Prieber ccdee464ca Update meta.php 2022-06-09 17:11:19 +02:00
Julian Prieber 40f3dc0ec2 Added option to customize routes 2022-06-09 16:45:05 +02:00
Julian Prieber e4abf3ed18 Added option to apply theme to Home Page 2022-06-09 14:41:26 +02:00
Julian Prieber 2bb8f57c1d Update meta.php 2022-06-09 13:22:17 +02:00
Julian Prieber a83d00a628 Added option to change footer links and texts 2022-06-09 12:33:23 +02:00
Julian Prieber a3262e35ab Added option to edit buttons on home page
/*
    |--------------------------------------------------------------------------
    | Custom Buttons on Home Page
    |--------------------------------------------------------------------------
    |
    | Here you can configure your own buttons for the Home Page.
    | You can add or remove as many buttons as you like.
    |
    | The syntax of the custom buttons is as follows:
    |
    |       array(
    |         'button' => '',
    |         'link' => '',
    |         'title' => '',
    |         'icon' => '',
    |         'custom_css' => ''
    |       ),
    |
    | In the 'button' field, you have to enter the button name (i.e. 'twitter', 'github', 'custom'...).
    | You can find a list of all available buttons below.
    |
    | In the 'link' field, can enter your desired link you can leave this field empty for a display only, non-functional button.
    |
    |
    |
    | The input fields below only apply to buttons such as 'custom' and 'custom_website' but must always be included even if only empty.
    |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    |
    | In the 'title' field, changes the text on a button, such as 'custom' and 'custom_website'.
    |
    | In the 'icon' field, uses the same syntax as the Button Editor on the Admin Panel.
    | This allows you to add your own icons to 'custom' buttons. You can find a list of available icons on llc.bio/fa.
    |
    | In the 'custom_css' field, here you can enter custom CSS to change the color of your button.
    | If you don't feel comfortable working with CSS,
    | you can copy and paste the CSS from the 'Custom CSS' field of the Button Editor on the Admin Panel.
    |
    */

    'use_custom_buttons'  => 'true', // Set this to false if you wish to display the old buttons.

    'buttons' => array(
      array(
        'button' => 'github',
        'link' => 'https://github.com/JulianPrieber/littlelink-custom',
        'title' => '',
        'icon' => '',
        'custom_css' => ''
      ),
      array(
          'button' => 'custom',
          'link' => 'https://littlelink-custom.com',
          'title' => 'Project Website',
          'icon' => 'llc',
          'custom_css' => 'color:#ffffff; background-image:linear-gradient(76deg, #f70fff 0%, #11d4de 100%);'),
      array(
        'button' => 'custom',
        'link' => 'https://littlelink-custom.com/sponsor',
        'title' => 'Help us out',
        'icon' => 'fa-hand-holding-hand',
        'custom_css' => 'color:#ffffff; background-image:radial-gradient(circle, #00d2ff 0%, #3a7bd5 95%);'
      ),
    )

    /*
    |--------------------------------|
    | List of Available buttons:     |
    |--------------------------------|
    | 'button' => 'custom'           |
    | 'button' => 'custom_website'   |
    | 'button' => 'github'           |
    | 'button' => 'twitter'          |
    | 'button' => 'instagram'        |
    | 'button' => 'facebook'         |
    | 'button' => 'messenger'        |
    | 'button' => 'linkedin'         |
    | 'button' => 'youtube'          |
    | 'button' => 'discord'          |
    | 'button' => 'twitch'           |
    | 'button' => 'snapchat'         |
    | 'button' => 'spotify'          |
    | 'button' => 'reddit'           |
    | 'button' => 'medium'           |
    | 'button' => 'pinterest'        |
    | 'button' => 'soundcloud'       |
    | 'button' => 'figma'            |
    | 'button' => 'kit'              |
    | 'button' => 'telegram'         |
    | 'button' => 'tumblr'           |
    | 'button' => 'steam'            |
    | 'button' => 'vimeo'            |
    | 'button' => 'wordpress'        |
    | 'button' => 'goodreads'        |
    | 'button' => 'skoob'            |
    | 'button' => 'tiktok'           |
    | 'button' => 'default email'    |
    | 'button' => 'default email_alt'|
    | 'button' => 'bandcamp'         |
    | 'button' => 'patreon'          |
    | 'button' => 'signal'           |
    | 'button' => 'venmo'            |
    | 'button' => 'cashapp'          |
    | 'button' => 'gitlab'           |
    | 'button' => 'mastodon'         |
    | 'button' => 'paypal'           |
    | 'button' => 'whatsapp'         |
    | 'button' => 'xing'             |
    | 'button' => 'buy me a coffee'  |
    | 'button' => 'website'          |
    | 'button' => 'heading'          |
    | 'button' => 'space'            |
    |--------------------------------|
    */
2022-06-09 09:59:04 +02:00
Julian Prieber 032162cdbf Added option to hide share button 2022-06-08 20:26:21 +02:00
Julian Prieber 2dc76c5b22 Update meta.php 2022-06-08 19:27:08 +02:00
Julian Prieber 2e895ae300 Update meta.php 2022-06-08 19:21:20 +02:00
Julian Prieber 76155d607d Moved meta.php 2022-06-08 18:50:12 +02:00
Julian Prieber c673b44b6d Added keys to default config 2022-06-01 18:53:22 +02:00
Julian Prieber c2632be778 Updated config
NOTIFY_UPDATES now either true or false
2022-05-28 15:54:34 +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 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 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 2be02c6637
Update default_settings 2022-04-04 13:29:15 +02:00
Julian Prieber 89d54492fd Added option to set profile as homepage
The homepage can now be changed to a user's profile page with the option "HOME_URL" in the config (found on the Admin Panel under Admin>Config).

This commit is a bit janky, I wanted to change the homepage with a setting saved in the database, but I couldn't finish this in time, so this has to do for now.

An if statement in the web routes PHP checks if the new setting is present in the config and changes the homepage to the listed LittleLink Custom name. If the homage  is changed, the page previously set as the homepage where users can register and or login can now be found at .../home.
2022-03-24 14:44:33 +01:00
Julian Prieber a290e78000 Added footer / credit option
Added a footer and a credit options. Both can be turned off in the config.
2022-03-21 23:11:49 +01:00
Julian Prieber a0d8c05f4e
Update default_settings 2022-03-21 16:11:21 +01:00
Julian Prieber aac19d17f4 Bugfixes
Fixed problems in .env and database seeder
2022-03-21 15:37:55 +01:00
Julian Prieber 53d2286c3d Updated .env
Event notifications are now turned on by default
2022-03-21 09:30:30 +01:00
Julian Prieber 4babe1fe2e Made update notification optional / Added Event notification
Added optional event notification that can be enabled in the config (is disabled by default).

You can read more about this feature on the Blog here: https://blog.littlelink-custom.com/event-notifications/
2022-03-20 17:15:16 +01:00