Commit Graph

38 Commits

Author SHA1 Message Date
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
Julian Prieber fa4f4f1441 Added email verification
Added email verification after user registration. After a user registered, an email is sent to the email used to sign up. The mail contains a verification link which is required to complete the registration process.

This feature can be turned off in the Admin Panel under: Admin>Config by changing the setting "Register_auth" from "verified" to "auth".

Read more about this on the Blog here: https://blog.littlelink-custom.com/optional-email-verification/
2022-03-19 16:48:21 +01:00
Julian Prieber fef2e09aa9 Added built in Config Editor
LittleLink Custom now includes an .env config editor. This editor can be accessed via the Admin Panel under Admin>Config.
This editor allows admins to edit, backup, download and upload the .env configuration file. All in all, the new feature, allows users to more easily edit the configuration file, contributing to my goal of making LittleLink Custom easier to use.

Read more about this topic on the Blog https://blog.littlelink-custom.com/built-in-config-editor
2022-03-16 14:16:03 +01:00
Khashayar Zavosh 24db7cbbfb admin littlelink 2021-04-16 03:30:00 +04:30