Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2096 commits
Select commit Hold shift + click to select a range
a6347c8
build: bump golangci-lint to 1.60.3
o1egl Aug 29, 2024
e7d7710
Merge pull request #3436 from filebrowser/go_1.23.0
o1egl Aug 29, 2024
056cfa8
build: fix goreleaser file
o1egl Aug 29, 2024
2369e5c
chore(release): 2.31.0
o1egl Aug 29, 2024
7de6bc4
build: update to alpine 3.20 (#3447)
o1egl Aug 30, 2024
121d9ab
fix: command not found in shell (#3438)
n-i-x Aug 30, 2024
bb5d192
chore(release): 2.31.1
o1egl Aug 30, 2024
1e7c415
fix: german translation spelling typos (#3469)
knrdl Sep 23, 2024
406d4f7
fix: change location of custom init scripts (#3493)
niraami Sep 23, 2024
d729701
chore: fix typos (#3490)
deining Sep 23, 2024
ec7b643
build(deps-dev): bump vite from 5.2.7 to 5.4.6 in /frontend (#3496)
dependabot[bot] Sep 23, 2024
21d5ee1
chore: bump 'actions/stale' to latest version (#3489)
deining Sep 30, 2024
2b37e69
fix: added whitespace before version (#3510)
Angelfisch Sep 30, 2024
03d74ee
build(deps): bump rollup from 4.21.3 to 4.22.4 in /frontend (#3504)
dependabot[bot] Sep 30, 2024
64400ff
fix: files list alignment (#3494)
SilverSong3 Sep 30, 2024
129a4fd
chore(release): 2.31.2
o1egl Oct 3, 2024
2fdea73
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#…
dependabot[bot] Nov 5, 2024
0659594
build(deps): bump vue-i18n from 9.10.2 to 9.14.2 in /frontend (#3618)
dependabot[bot] Dec 3, 2024
d51a343
build: update to node 22 and pnpm (#3616)
kloon15 Dec 9, 2024
25372ed
build(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /tools (#3601)
dependabot[bot] Dec 12, 2024
209acf2
feat: create user on proxy authentication if user does not exist (#3569)
ahobsonsayers Dec 16, 2024
e92dbb4
build(deps): bump golang.org/x/crypto from 0.26.0 to 0.31.0 (#3634)
dependabot[bot] Dec 16, 2024
d1c84a8
fix: prompts disappearing on copy / move / upload (#3537)
Rmiller5466 Jan 20, 2025
cc33138
chore: add translation for the "Hide dot files setting" in "es" (Span…
JohnBernardsson Jan 30, 2025
0201f9c
refactor: Fix eslint warnings (#3698)
kloon15 Jan 30, 2025
1194cfe
build(deps): bump golang.org/x/net from 0.23.0 to 0.33.0 (#3712)
dependabot[bot] Jan 30, 2025
252f0a7
chore: update ko.json (#3688)
JSpiner Jan 30, 2025
045064f
fix: add proper healthcheck for S6 containers (#3691)
eden881 Jan 30, 2025
bbdd313
fix: disk usage refreshing (#3692)
elmodor Jan 30, 2025
5300d00
fix: Fix user creation on proxy auth (#3666)
ahobsonsayers Jan 30, 2025
ba797cd
build: fix go releaser
o1egl Jan 31, 2025
3d6c515
chore(release): 2.32.0
o1egl Jan 31, 2025
99c64c1
Update french translation
Kcchouette Mar 10, 2025
35d1c09
build(deps): bump vue-i18n from 11.0.1 to 11.1.2 in /frontend (#3786)
dependabot[bot] Mar 19, 2025
f8a16a6
Merge branch 'master' into patch-1
Kcchouette Apr 19, 2025
5355629
build(deps-dev): bump vite from 6.0.11 to 6.1.6 in /frontend (#3886)
dependabot[bot] May 19, 2025
0ba9505
build(deps): bump golang.org/x/crypto from 0.31.0 to 0.35.0 (#3865)
dependabot[bot] May 19, 2025
cfea84f
build(deps): bump golang.org/x/net from 0.33.0 to 0.38.0 (#3869)
dependabot[bot] May 19, 2025
7a48fd0
Merge branch 'master' into patch-1
Kcchouette May 20, 2025
ff1579b
Merge pull request #3793 from Kcchouette/patch-1
hacdias Jun 4, 2025
495e731
Update Polish translation
Matthaiks Mar 3, 2025
6d55cc5
chore: Update Polish translation
Matthaiks Apr 21, 2025
1d14798
Merge pull request #3776 from Matthaiks/pl
hacdias Jun 4, 2025
a46acba
fix: generate random admin password on quick setup
bo0tzz Jan 16, 2025
54b91b8
fix: imports lint
bo0tzz Jan 21, 2025
c606a01
fix: err shadowing lint
bo0tzz Jan 21, 2025
5d9f097
Merge pull request #3675 from bo0tzz/fix/random-password
hacdias Jun 4, 2025
b883e28
chore: migrate transifex settings
hacdias Jun 4, 2025
48f8947
chore: remove stale bot
hacdias Jun 4, 2025
71a8f56
fix: set videojs locale (#3742)
similicious Jun 5, 2025
f4a8420
docs: add maintenance warning to readme
hacdias Jun 11, 2025
e82e239
chore: update Go dependencies
hacdias Jun 11, 2025
abbf203
chore: updated readme and templates
hacdias Jun 13, 2025
31a3266
chore: updated readme and template
hacdias Jun 13, 2025
6d82a27
ci: add transifex.yml
hacdias Jun 15, 2025
b6b4fb5
ci: remove manual .tx config
hacdias Jun 15, 2025
54a1ae0
chore: add only translated mode to transifex
hacdias Jun 15, 2025
5daae69
chore: revert only translated mode to transifex
hacdias Jun 15, 2025
a882fb6
feat: improve pt-br translations with new keys and refinements (#4903)
dgstx Jun 16, 2025
d9ebd65
feat: update translation ko.json (#3852)
DevNergis Jun 16, 2025
56b80b6
feat: add Vietnamese translation (#3840)
michioxd Jun 16, 2025
56a0f92
chore(release): 2.32.1
hacdias Jun 16, 2025
c34c0af
feat: updated for project File Browser (#5159)
transifex-integration[bot] Jun 17, 2025
0cca7d8
docs: move most docs to main repository (#5141)
hacdias Jun 17, 2025
4aee14d
ci: add @hacdias as codeowner
hacdias Jun 17, 2025
db671c2
ci: update gorelease homebrew
hacdias Jun 17, 2025
6ebfdcc
chore(release): 2.32.2
hacdias Jun 17, 2025
1cc539e
ci: fix the post install tap command
hacdias Jun 17, 2025
04a13f0
chore(release): 2.32.3
hacdias Jun 17, 2025
2e26393
feat: improved docker image volumes and permissions (#5160)
hacdias Jun 18, 2025
e9bb3dc
chore(release): 2.33.0
hacdias Jun 18, 2025
a02b297
fix: search uses ctrl+shift+f instead of hijacking browser's ctrl+f (…
contributor Jun 19, 2025
3311303
docs: update security.md
hacdias Jun 20, 2025
a493ec9
docs: add more docker notes
hacdias Jun 21, 2025
8a14018
fix: downloadUrl of file preview (#3728)
pjw91 Jun 21, 2025
cbb7124
fix: remove auth query parameter from download and preview links
hacdias Jun 21, 2025
8ca0804
chore(release): 2.33.1
hacdias Jun 21, 2025
0ca8059
fix: create user dir on signup
hacdias Jun 21, 2025
ffb858e
chore(release): 2.33.2
hacdias Jun 21, 2025
2741616
fix: update search hotkey in help prompt (#5178)
2000Arion Jun 22, 2025
7c0c782
fix: keep command behavior in Dockerfile
hacdias Jun 22, 2025
dbdbbab
chore(release): 2.33.3
hacdias Jun 22, 2025
f714e71
feat: translation updates for project File Browser (#5179)
transifex-integration[bot] Jun 22, 2025
ad864a9
chore(release): 2.33.4
hacdias Jun 22, 2025
0268506
fix: actually register the czech language (#5189)
DMNerd Jun 24, 2025
6c29fab
chore: remove cz_CS from transifex.yaml
hacdias Jun 24, 2025
f330764
feat: update languages for project File Browser (#5190)
transifex-integration[bot] Jun 24, 2025
506fc08
chore(release): 2.33.5
hacdias Jun 24, 2025
23bd8f6
fix: remove incorrect default for password flag
hacdias Jun 24, 2025
f46641b
chore(release): 2.33.6
hacdias Jun 24, 2025
221451a
fix: correctly parse negative boolean flags
hacdias Jun 25, 2025
e74c958
fix: linting issues
hacdias Jun 25, 2025
f19943a
Merge commit from fork
hacdias Jun 25, 2025
4bfbf33
fix: linting issues
hacdias Jun 25, 2025
ca86f91
Merge commit from fork
hacdias Jun 25, 2025
d6d84e2
chore(release): 2.33.7
hacdias Jun 25, 2025
21b0827
Merge commit from fork
hacdias Jun 25, 2025
b0f92dd
chore(release): 2.33.8
hacdias Jun 25, 2025
e2e1e49
fix: check exact match on command allow list
hacdias Jun 26, 2025
d5b39a1
fix: remove auth token from /api/command
hacdias Jun 26, 2025
c1e4fd6
docs: add warning regarding the custom commands feature
hacdias Jun 26, 2025
c232d41
fix: remove unused import
hacdias Jun 26, 2025
a430eb2
chore(release): 2.33.9
hacdias Jun 26, 2025
f84a6db
fix: correctly split shell
hacdias Jun 26, 2025
4d830f7
fix: correctly check if command is allowed when using shell
hacdias Jun 26, 2025
e735491
fix: ignore linting error
hacdias Jun 26, 2025
da03728
chore(release): 2.33.10
hacdias Jun 26, 2025
1d494ff
build: bump golangci-lint to 2.1.6
alexandear Jun 26, 2025
8b8fb33
ci: remove goconst
hacdias Jun 27, 2025
8230eb7
fix: Graceful shutdown
adrienkohlbecker Apr 14, 2025
ae4fb0e
chore: make as exception to mnd
hacdias Jun 27, 2025
0acd69c
feat: Translate frontend/src/i18n/en.json in fa
hacdias Jun 27, 2025
f32f273
build(deps): bump github.com/go-viper/mapstructure/v2
dependabot[bot] Jun 27, 2025
5331969
build(deps): bump github.com/go-viper/mapstructure/v2 in /tools
dependabot[bot] Jun 27, 2025
0892559
fix: do not expose the name of the root directory (#5224)
hacdias Jun 28, 2025
464b644
fix: add configurable minimum password length (#5225)
hacdias Jun 28, 2025
6072540
docs: migrate to MkDocs for site generation (#5227)
o1egl Jun 28, 2025
f5e531c
build: add an arm64 target for the site image (#5229)
o1egl Jun 28, 2025
a5ea2a2
feat: update translations for project File Browser (#5226)
transifex-integration[bot] Jun 28, 2025
8861933
build: publish docs to cloudflare pages (#5230)
o1egl Jun 28, 2025
77d266b
docs: change cloudflare environment (#5231)
o1egl Jun 28, 2025
9e273cd
Revert "docs: change cloudflare environment (#5231)" (#5232)
o1egl Jun 28, 2025
09f679f
feat: Translate frontend/src/i18n/en.json in fa (#5233)
transifex-integration[bot] Jun 29, 2025
5a07291
build(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /tools (#5…
dependabot[bot] Jun 29, 2025
2d1a82b
docs: improvements to building and docs (#5234)
hacdias Jun 29, 2025
93c4b2e
fix: abort ongoing requests when changing pages (#3927)
manx98 Jun 29, 2025
8700cb3
chore: reuse docker flags
hacdias Jun 29, 2025
d8472e7
chore(release): 2.34.0
hacdias Jun 29, 2025
58fe817
docs: add link to contributing and license in readme
hacdias Jun 29, 2025
10684e5
docs: bring the maintenance warning higher in the page
hacdias Jun 29, 2025
7354eb6
fix: exclude to-be-moved folder from move dialog (#5235)
FoxyHunter7 Jun 29, 2025
bf37f88
fix: passthrough the minimum password length (#5236)
hacdias Jun 29, 2025
70d59ec
chore(release): 2.34.1
hacdias Jun 29, 2025
e6b750a
chore: make more fields in bug report mandatory
hacdias Jun 29, 2025
c13861e
docs: clarify admin password
hacdias Jun 29, 2025
364f391
docs: cleanup installation
hacdias Jun 29, 2025
2b5d6cb
fix: mitigate unprotected shares
hacdias Jun 29, 2025
d1a73a8
chore(release): 2.34.2
hacdias Jun 29, 2025
d644744
docs: add fail2ban instructions
hacdias Jun 29, 2025
7b43cfb
docs: improve fail2ban filter
hacdias Jun 29, 2025
8d75220
feat: Long press selects item in single click mode
FoxyHunter7 Jun 30, 2025
4403cd3
fix: shell value must be joined by blank space
hacdias Jun 30, 2025
38d0366
fix: update documentation links
hacdias Jun 30, 2025
3b3df83
docs: add warning to command runner
hacdias Jun 30, 2025
8ef8f2c
chore(release): 2.35.0
hacdias Jun 30, 2025
e9e7c68
chore: remove symlink in Dockerfile
hacdias Jul 2, 2025
9da01be
docs: add update instructions to Docker
hacdias Jul 2, 2025
fae410c
docs: improve custom branding info
hacdias Jul 2, 2025
04166e8
feat: update icons, remove deprecated Microsoft Tiles
hacdias Jul 2, 2025
0c34b79
chore(release): 2.36.0
hacdias Jul 2, 2025
47b3e21
docs: remove note about fixed issue
hacdias Jul 2, 2025
e99e0b3
fix: remove associated shares when deleting file/folder
stavros-tsioulis Jul 3, 2025
b639474
docs: docker caveat with bind mounts
hacdias Jul 3, 2025
a756e02
docs: fix typo
hacdias Jul 3, 2025
e36a9b4
chore(release): 2.36.1
hacdias Jul 3, 2025
244fda2
chore: base s6 image has now manifest for arm64
hacdias Jul 3, 2025
046d619
fix: lookup directory name if blank when downloading shared directory
Rmiller5466 Jul 5, 2025
cc6db83
chore(release): 2.36.2
hacdias Jul 6, 2025
3645b57
fix: log error if branding file exists but cannot be loaded
hacdias Jul 6, 2025
200b9a6
chore(release): 2.36.3
hacdias Jul 6, 2025
65bbf44
feat: Translate frontend/src/i18n/en.json in zh_CN
transifex-integration[bot] Jul 6, 2025
e423395
fix: Upload progress size calculation
jagadam97 Jul 6, 2025
1e96fd9
feat: Translate frontend/src/i18n/en.json in zh_TW
transifex-integration[bot] Jul 6, 2025
b28952c
feat: Translate frontend/src/i18n/en.json in zh_TW
transifex-integration[bot] Jul 6, 2025
bf73e4d
fix: preview PDF is correctly displayed
hacdias Jul 8, 2025
fcb248a
fix: long file name overlap
hacdias Jul 8, 2025
0614dcd
chore(release): 2.37.0
hacdias Jul 8, 2025
b4eddf4
feat: Updates for project File Browser
transifex-integration[bot] Jul 10, 2025
fbe169b
fix: prevent page change if there are outstanding edits (#5260)
Rmiller5466 Jul 12, 2025
528ce92
feat: Show the current users name in the sidebar (#2821)
JonathanBout Jul 12, 2025
14b0dfe
chore(release): 2.38.0
hacdias Jul 12, 2025
35ca24a
build: improve docker image and binary sizes
jagadam97 Jul 12, 2025
01c814c
feat: Improve Docker entrypoint and config handling
outlook84 Jul 12, 2025
7c71686
feat: rewrite the archiver and added support for zstd and brotli (#5283)
jagadam97 Jul 12, 2025
0f27c91
fix: drop modify permission for uploading new file (#5270)
ramiresviana Jul 13, 2025
5a8e717
fix: Settings button in the sidebar
hacdias Jul 13, 2025
1a5c83b
build: remove upx
hacdias Jul 13, 2025
5c5942d
build: lightweight busybox-based container build (#5285)
outlook84 Jul 13, 2025
e6ffb65
chore(release): 2.39.0
hacdias Jul 13, 2025
9072cbc
fix: invalid path when uploading files
ramiresviana Jul 13, 2025
035084d
feat: add font size botton to text editor (#5290)
outlook84 Jul 13, 2025
b8454bb
fix: Only left click should drag the image in extended image view
jagadam97 Jul 13, 2025
124abc7
chore: remove ln from init.sh
hacdias Jul 13, 2025
545c972
chore(release): 2.40.0
hacdias Jul 13, 2025
88f1442
fix: print correct user on setup
hacdias Jul 15, 2025
6425cc5
chore(release): 2.40.1
hacdias Jul 15, 2025
a7a68f7
chore: update minor dependencies (#5295)
hacdias Jul 15, 2025
3faec03
chore: update bug_report.yml
hacdias Jul 16, 2025
7e75835
chore: update bug_report.yml
hacdias Jul 16, 2025
d61110e
build(deps): bump vue-i18n from 11.1.9 to 11.1.10 in /frontend
dependabot[bot] Jul 16, 2025
607f570
fix: Location header on TUS endpoint (#5302)
hacdias Jul 17, 2025
5b7ea9f
chore(release): 2.40.2
hacdias Jul 17, 2025
21ad653
feat: Allow file and directory creation modes to be configured
williewillus Jul 21, 2025
1582b8b
feat: better error handling for sys kill signals
jagadam97 Jul 22, 2025
e5e1b6d
chore(release): 2.41.0
hacdias Jul 22, 2025
07dfdce
feat: Translate frontend/src/i18n/en.json in sk
transifex-integration[bot] Jul 25, 2025
5eb3bf4
feat: Translate frontend/src/i18n/en.json in no
transifex-integration[bot] Jul 26, 2025
25e47c3
feat: add Norwegian support (#5332)
hacdias Jul 26, 2025
cbeec6d
feat: select item on file list after navigating back (#5329)
ramiresviana Jul 27, 2025
c7a5c7e
build: bump go version to 1.23.11
ccampo133 Jul 22, 2025
c1b0207
build: bump to go 1.24
hacdias Jul 27, 2025
a290c6d
chore(release): 2.42.0
hacdias Jul 27, 2025
d778c19
Revert "chore(release): 2.42.0"
hacdias Jul 27, 2025
619f683
fix: norsk loading
hacdias Jul 27, 2025
7f559ff
chore(release): 2.42.0
hacdias Jul 27, 2025
14ee054
feat: Translate frontend/src/i18n/en.json in sk
transifex-integration[bot] Jul 27, 2025
4ff6347
fix: directory mode on config init
hacdias Jul 31, 2025
75baf7c
feat: Translate frontend/src/i18n/en.json in vi
transifex-integration[bot] Jul 31, 2025
af9b425
chore(release): 2.42.1
hacdias Jul 31, 2025
06e8713
fix: show file upload errors
ramiresviana Aug 1, 2025
6d620c0
docs: reword configuration intro
hacdias Aug 4, 2025
c14cf86
refactor: upload progress calculation (#5350)
ramiresviana Aug 6, 2025
c829330
chore(release): 2.42.2
hacdias Aug 6, 2025
cd51a59
fix: add missing CLI flags for user management (#5351)
wx-11 Aug 9, 2025
0f41aac
chore(release): 2.42.3
hacdias Aug 9, 2025
342b239
fix: add libcap to Dockerfile.s6
hacdias Aug 16, 2025
c182114
chore(release): 2.42.4
hacdias Aug 16, 2025
3107ae4
fix: "new folder" button not working in the move and copy popup (#5368)
jagadam97 Aug 16, 2025
cacfb2b
chore(release): 2.42.5
hacdias Aug 16, 2025
6b1fa87
feat: Translate frontend/src/i18n/en.json in fr
transifex-integration[bot] Aug 20, 2025
280fa56
build(deps): bump github.com/go-viper/mapstructure/v2 in /tools
dependabot[bot] Aug 21, 2025
950028a
build(deps): bump github.com/ulikunitz/xz from 0.5.12 to 0.5.14
dependabot[bot] Aug 28, 2025
8950585
feat: Updates for project File Browser (#5427)
transifex-integration[bot] Sep 8, 2025
36c6cc2
build(deps-dev): bump vite from 6.1.6 to 6.3.6 in /frontend
dependabot[bot] Sep 10, 2025
b482a9b
refactor: to use strings.Lines
cuiweixie Sep 13, 2025
783503a
fix: optimize markdown preview height
kimkit Sep 13, 2025
571ce6c
feat: Translate frontend/src/i18n/en.json in es
transifex-integration[bot] Sep 11, 2025
84e8632
feat: "save changes" button to discard changes dialog
jorgefl8 Sep 13, 2025
82dc57a
chore(release): 2.43.0
hacdias Sep 13, 2025
0769265
revert: build(deps): bump github.com/ulikunitz/xz from 0.5.12 to 0.5.14
hacdias Sep 13, 2025
2f0c1f5
chore(release): 2.43.0
hacdias Sep 13, 2025
4ff247e
feat: Updates for project File Browser (#5446)
transifex-integration[bot] Sep 18, 2025
e6c674b
fix: show login when session token expires
ArielLeyva Sep 19, 2025
0eade71
feat: Updates for project File Browser (#5450)
transifex-integration[bot] Sep 19, 2025
dec7a02
feat: Translate frontend/src/i18n/en.json in no
transifex-integration[bot] Sep 22, 2025
b9787c7
feat: allow setting ace editor theme (#3826)
radam9 Sep 25, 2025
692ca5e
fix(upload): throttle upload speed calculation to 100ms to avoid Infi…
ArielLeyva Sep 25, 2025
d29ad35
feat: Improved path display in the new file and directory modal (#5451)
ArielLeyva Sep 25, 2025
c472542
fix: computation of file path
hacdias Sep 25, 2025
949ddff
fix: some formatting issues with i18n files
hacdias Sep 25, 2025
1165f00
feat: Updates for project File Browser (#5457)
transifex-integration[bot] Sep 25, 2025
878cdfb
chore(release): 2.44.0
hacdias Sep 25, 2025
d0039af
fix: wrong url on settings branding link
Rmiller5466 Oct 3, 2025
a397e73
fix: editor discard prompt doesn't save nor discard
Rmiller5466 Oct 17, 2025
97b8911
refactor: use slices.Contains to simplify code (#5483)
rocksload Oct 17, 2025
dd88398
fix(auth): prevent integer overflow in logout timer using safeTimeout…
ArielLeyva Oct 17, 2025
de35dee
chore(release): 2.44.1
hacdias Oct 17, 2025
b8f64a1
build(deps-dev): bump vite from 6.3.6 to 6.4.1 in /frontend
dependabot[bot] Oct 21, 2025
57db25d
fix(http): remove auth query parameter
hacdias Oct 22, 2025
c18afcd
chore(release): 2.44.2
hacdias Oct 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.venv
dist
.idea
frontend/node_modules
frontend/dist
filebrowser.db
docs/index.md
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These owners will be the default owners for everything in the repo.
# Unless a later match takes precedence, @o1egl will be requested for
# review when someone opens a pull request.

* @o1egl @hacdias
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Bug Report
description: Report a bug in FileBrowser.
labels: [bug, 'waiting: triage']
body:
- type: checkboxes
attributes:
label: Checklist
description: Please verify that you've followed these steps
options:
- label: This is a bug report, not a question.
required: true
- label: I have searched on the [issue tracker](https://github.com/filebrowser/filebrowser/issues?q=is%3Aissue) for my bug.
required: true
- label: I am running the latest [FileBrowser version](https://github.com/filebrowser/filebrowser/releases) or have an issue updating.
required: true
- type: textarea
id: version
attributes:
label: Version
render: Text
description: |
Enter the version of FileBrowser you are using.
validations:
required: true
- type: textarea
attributes:
label: Description
description: |
A clear and concise description of what the issue is about. What are you trying to do?
validations:
required: true
- type: textarea
attributes:
label: What did you expect to happen?
validations:
required: true
- type: textarea
attributes:
label: What actually happened?
validations:
required: true
- type: textarea
attributes:
label: Reproduction Steps
description: |
Tell us how to reproduce this issue. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
validations:
required: true
- type: textarea
attributes:
label: Files
description: |
A list of relevant files for this issue. Large files can be uploaded one-by-one or in a tarball/zipfile.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: GitHub Discussions
url: https://github.com/filebrowser/filebrowser/discussions
about: Please ask questions and discuss features here.
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Description

<!-- Please explain the changes you made here. -->

## Additional Information

<!-- If it is a relatively large or complex change, please add more information to explain what you did, how you did it, if you considered any alternatives, etc. -->

## Checklist

Before submitting your PR, please indicate which issues are either fixed or closed by this PR. See [GitHub Help: Closing issues using keywords](https://help.github.com/articles/closing-issues-via-commit-messages/).

- [ ] I am aware the project is currently in maintenance-only mode. See [README](https://github.com/filebrowser/community/blob/master/README.md)
- [ ] I am aware that translations MUST be made through [Transifex](https://app.transifex.com/file-browser/file-browser/) and that this PR is NOT a translation update
- [ ] I am making a PR against the `master` branch.
- [ ] I am sure File Browser can be successfully built. See [builds](https://github.com/filebrowser/community/blob/master/builds.md) and [development](https://github.com/filebrowser/community/blob/master/development.md).
105 changes: 105 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
name: main

on:
push:
branches:
- "master"
tags:
- "v*"
pull_request:

jobs:
# linters
lint-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
package_json_file: "frontend/package.json"
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "pnpm"
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: make lint-frontend
lint-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.24'
- run: make lint-backend
lint:
runs-on: ubuntu-latest
needs: [lint-frontend, lint-backend]
steps:
- run: echo "done"

# tests
test-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
package_json_file: "frontend/package.json"
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "pnpm"
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: make test-frontend
test-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.24'
- run: make test-backend
test:
runs-on: ubuntu-latest
needs: [test-frontend, test-backend]
steps:
- run: echo "done"

# release
release:
runs-on: ubuntu-latest
needs: [lint, test]
if: startsWith(github.event.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.23'
- uses: pnpm/action-setup@v4
with:
package_json_file: "frontend/package.json"
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "pnpm"
cache-dependency-path: "frontend/pnpm-lock.yaml"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build frontend
run: make build-frontend
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
46 changes: 46 additions & 0 deletions .github/workflows/pr-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "Lint PR"

on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize

permissions:
pull-requests: write

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
id: lint_pr_title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: marocchino/sticky-pull-request-comment@v2
# When the previous steps fails, the workflow would stop. By adding this
# condition you can continue the execution with the populated error message.
if: always() && (steps.lint_pr_title.outputs.error_message != null)
with:
header: pr-title-lint-error
message: |
Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) and it looks like your proposed title needs to be adjusted.

Details:

```
${{ steps.lint_pr_title.outputs.error_message }}
```

# Delete a previous comment when the issue has been resolved
- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
uses: marocchino/sticky-pull-request-comment@v2
with:
header: pr-title-lint-error
delete: true
20 changes: 20 additions & 0 deletions .github/workflows/site-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build Site

on:
pull_request:
paths:
- 'www'
- '*.md'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build site
run: make site
32 changes: 32 additions & 0 deletions .github/workflows/site-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build and Deploy Site

on:
push:
branches:
- master

jobs:
deploy:
permissions:
contents: read
deployments: write
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build site
run: make site

- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy www/public --project-name=${{ secrets.CLOUDFLARE_PROJECT_NAME }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
*.db
*.bak
_old
rice-box.go
.idea/
/filebrowser
/filebrowser.exe
/dist
.venv

.DS_Store
node_modules

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
bin/
build/

# Vue distributable files
/frontend/dist/*
!/frontend/dist/.gitkeep

# Playwright files
/frontend/test-results/
/frontend/playwright-report/
/frontend/playwright/.cache/

default.nix
Dockerfile.dev
Loading