Skip to content

Conversation

@hacdias
Copy link
Member

@hacdias hacdias commented Nov 29, 2018

Breaking changes

  • Previous configuration database and configuration files are not compatible.
  • Old share links ARE NOT compatible with the new configuration hence not imported.
  • DOES NOT have direct integration with Hugo nor Jekyll.
  • DOES NOT have user-specific CSS. The admin can customize for the whole installation.
  • Command runner ROOT variable is now SCOPE.
  • Command runner FILE variable is now an absolute path and not relative to SCOPE.

TODOS

@hacdias hacdias changed the title [WIP] feat: revamp [WIP] feat: coding cleanup and v2.0.0 Nov 29, 2018
@hacdias hacdias changed the title [WIP] feat: coding cleanup and v2.0.0 [WIP] feat(BREAKING CHANGES): coding cleanup and v2.0.0 Nov 29, 2018
@hacdias hacdias changed the title [WIP] feat(BREAKING CHANGES): coding cleanup and v2.0.0 [WIP] feat(BREAKING CH.): coding cleanup and v2.0.0 Nov 29, 2018
@hacdias
Copy link
Member Author

hacdias commented Dec 5, 2018

Update: decided to reuse the current Front end in Vue and update the dependencies. More here: filebrowser/frontend#46

This was referenced Dec 28, 2018
@hacdias hacdias force-pushed the rewrite branch 6 times, most recently from 41d2e98 to 9952a14 Compare December 28, 2018 19:25
feat: add main command

feat: add todos

feat: add signup api

feat: do not repeat code

fix: user return

feat: work out static box

fix: setup static handlers

feat: add share types

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

feat: start static

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

feat: bring back more features

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

add

feat: readd more files

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

feat: add dockerignore

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

feat: gitignore

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

feat: readd submodule

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
hacdias added a commit to filebrowser/frontend that referenced this pull request Jan 5, 2019
We're merging this to continue filebrowser/filebrowser#575 and setup translations auto-updating.
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
@eine
Copy link
Contributor

eine commented Jan 5, 2019

@hacdias, sure. I am going to publish v1.11.0 now, so that we have a stable v1 and we can move forward with v2 on master.

About the pending task named fix: Docker image, is there anything I can help test/fix?

@hacdias
Copy link
Member Author

hacdias commented Jan 5, 2019

@1138-4eb release it! Thanks! I merged the frontend already so make sure not to update it on master eheh.

It's more wait to see if the Docker image works well and if the wizard builds it correctly 😄

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
@hacdias hacdias self-assigned this Jan 5, 2019
@eine
Copy link
Contributor

eine commented Jan 5, 2019

Well, the release stage did need some effort (because of filebrowser/docker-dev#3), but it is working ok now. Plus, the good news are that both golangci-lint and goreleaser work seamlessly when the repo is outside of GOPATH.

I created a new branch named v1 to keep possible bugfixes there. Then, I merged master/v1 to rewrite, and named it v2.

You can now:

  • Forward rewrite to v2, and then merge this PR (forwarding master to v2).
  • Forward master to v2 and close this PR manually.

hacdias added a commit that referenced this pull request Jan 5, 2019
@hacdias hacdias closed this Jan 5, 2019
@hacdias hacdias deleted the rewrite branch January 5, 2019 22:44
@hacdias
Copy link
Member Author

hacdias commented Jan 5, 2019

@1138-4eb thanks! I kept v1 and merged v2 into master. Although I don't feel comfortable in keeping the version 1 in a branch. It makes me feel like Python where two versions keep growing separately for no reason. We can keep it this way and eventually remove it in the future. We always will have the tags and I doubt there are any reasons to keep on v1.

@hacdias
Copy link
Member Author

hacdias commented Jan 5, 2019

Soon will have a v2 released!

@eine
Copy link
Contributor

eine commented Jan 5, 2019

So fast! Nice!

Certainly, we could remove both branches, v1 and v2, and use master only:

  • v2 was just temporal, indeed.
  • With v1, we need to remember that any bugfix should start from 013ddf4, which is the commit next to the tagged one (v1.11.0). That's why I think it can be helpful to keep it. If we see that no critical fixes need to be applied, we can remove it in the future.

@eine
Copy link
Contributor

eine commented Jan 5, 2019

BTW, I tried the windows-amd64 binary and the docker image corresponding to v1.11.0. Both work as expected. However, caddy is failing because of some of the changes we did to filebrowser/dev (such as changing the linter tool). I'm going to fix it.

@hacdias
Copy link
Member Author

hacdias commented Jan 5, 2019

Thanks. Don't worry about Caddy for now. Our plugins can't be downloaded right now. I set them as hidden on Caddy website until we have a workable version with 2.0. Caddy doesn't let us use dependency management with go mod so I was thinking about vendoring or something like that in the plugin. It will need a bit more thought though.

@eine
Copy link
Contributor

eine commented Jan 5, 2019

Ok. So, I will review the Dockerfile thing. I downloaded the latest filebrowser image (v2) and it refuses to start due to some problem with the entrypoint.

@hacdias
Copy link
Member Author

hacdias commented Jan 5, 2019

Yes, please do that! Also check if import command works as expected (ref https://docs.filebrowser.xyz/upgrade-from-1.x)

@eine
Copy link
Contributor

eine commented Jan 5, 2019

After having a quick look at it, I think that we should avoid docker-entrypoint.sh. If that feature is really required, it should be integrated in the golang codebase.

@hacdias hacdias mentioned this pull request Jan 5, 2019
@hacdias
Copy link
Member Author

hacdias commented Jan 5, 2019

@1138-4eb let's continue on #600

kaushalmodi pushed a commit to gohugoio/hugoDocs that referenced this pull request Mar 12, 2019
StaticGen will be removed in version 2.0 of the caddy filebrowser plugin.
filebrowser/filebrowser#575
hacdias added a commit that referenced this pull request May 11, 2019
Read #575.

Former-commit-id: 7aedcaaf72b863033e3f089d6df308d41a3fd00c [formerly bdbe4d49161b901c4adf9c245895a1be2d62e4a7] [formerly acfc1ec67c423e0b3e065a8c1f8897c5249af65b [formerly d309066]]
Former-commit-id: 0c7d925a38a68ccabdf2c4bbd8c302ee89b93509 [formerly a6173925a1382955d93b334ded93f70d6dddd694]
Former-commit-id: e032e0804dd051df86f42962de2b39caec5318b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment