-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Feat/clean share url #5832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
eliandoran
wants to merge
39
commits into
main
Choose a base branch
from
feat/clean-share-url
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat/clean share url #5832
+386
−235
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1st time using Meld. I'm not sure if the conflict resolve is clean
commented out for now, to make sure we get back to it – not sure if it was suppossed to have any special other reason to exist
caused by having other several save operation inside the save() method (which doesn't even make sense to begin with, as far as I can tell) moving it to inside the "change" event handler allows us to set and store a custom share path again
there's no need to execute PUT requests for *all* Share Settings, when any option changes moved the code to inside the "change" event handlers
…rectBareDomain change → that is what the shareRootCheck button is there for
…g new local $button variable
* add rudimental error handling * add handling of special case, where one has multiple shared notes with a #shareRoot label * refactor styling into auxiliary setCheckShareRootStyle function
* add normalization helper to ensure string does not start with multiple trailing slashes or ends with a trailing slash * fall back to default "/share" when empty string is entered
it currently fails trying to import the class though a "manual" importing of the function did pass all checks though -> will need to investigate why importing the class does not work like that
that should be part of a later PR
normalization is happening in the share settings options widget in the meantime, making it more obvious to the user
that should be part of a later PR
needs to currently mention, that a server restart is required
…working this will be handled by cleanUrl PR later on
that should be part of a later PR
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
BE
Issues related to server-side/back-end
size:XL
This PR changes 500-999 lines, ignoring generated files.
Type: Enhancement
UI
Issues related to user-interface/front-end
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Continuation of TriliumNext/Notes#1781.