chrislu
cd28ce7786
admin start wtih grpc port. worker has its own working directory
2025-07-24 19:43:10 -07:00
chrislu
a4cf55a741
remove "enhanced" reference
2025-07-24 08:07:50 -07:00
chrislu
30ad65bb5f
integration test. ec worker task
2025-07-24 07:50:03 -07:00
chrislu
0d8e1f8a17
reorganized the codebase to move the simulation framework and tests into their own dedicated package
2025-07-24 01:08:10 -07:00
chrislu
a0874d201c
added simulation as tests
2025-07-24 01:00:25 -07:00
chrislu
add122484c
initial design
2025-07-24 00:37:02 -07:00
c6a22ce43a
Fix get object lock configuration handler ( #6996 )
...
* fix GetObjectLockConfigurationHandler
* cache and use bucket object lock config
* subscribe to bucket configuration changes
* increase bucket config cache TTL
* refactor
* Update weed/s3api/s3api_server.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* avoid duplidated work
* rename variable
* Update s3api_object_handlers_put.go
* fix routing
* admin ui and api handler are consistent now
* use fields instead of xml
* fix test
* address comments
* Update weed/s3api/s3api_object_handlers_put.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update test/s3/retention/s3_retention_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update weed/s3api/object_lock_utils.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* change error style
* errorf
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-18 02:19:50 -07:00
Chris Lu
69553e5ba6
convert error fromating to %w everywhere ( #6995 )
2025-07-16 23:39:27 -07:00
chrislu
64c5dde2f3
support multiple masters
...
fix https://github.com/seaweedfs/seaweedfs/issues/6988
2025-07-15 10:51:07 -07:00
chrislu
406aaf7c14
increase upload limit via browser
2025-07-14 08:42:15 -07:00
chrislu
e7dfc3552c
admin ui adds object lock permissions
2025-07-13 20:29:25 -07:00
Chris Lu
7cb1ca1308
Add policy engine ( #6970 )
2025-07-13 16:21:36 -07:00
Chris Lu
687a6a6c1d
Admin UI: Add policies ( #6968 )
...
* add policies to UI, accessing filer directly
* view, edit policies
* add back buttons for "users" page
* remove unused
* fix ui dark mode when modal is closed
* bucket view details button
* fix browser buttons
* filer action button works
* clean up masters page
* fix volume servers action buttons
* fix collections page action button
* fix properties page
* more obvious
* fix directory creation file mode
* Update file_browser_handlers.go
* directory permission
2025-07-12 01:13:11 -07:00
chrislu
49d43003e1
show volume size limit on dashboard
2025-07-11 19:37:09 -07:00
chrislu
4fcbdc1f61
tweaking dashboard UI
2025-07-11 13:11:39 -07:00
chrislu
3d4a9bdac0
upgrade templ version from v0.3.833 to v0.3.906
...
// templ: version: v0.3.833
// templ: version: v0.3.906
fix https://github.com/seaweedfs/seaweedfs/issues/6966#issuecomment-3063449163
2025-07-11 13:03:04 -07:00
Chris Lu
51543bbb87
Admin UI: Add message queue to admin UI ( #6958 )
...
* add a menu item "Message Queue"
* add a menu item "Message Queue"
* move the "brokers" link under it.
* add "topics", "subscribers". Add pages for them.
* refactor
* show topic details
* admin display publisher and subscriber info
* remove publisher and subscribers from the topic row pull down
* collecting more stats from publishers and subscribers
* fix layout
* fix publisher name
* add local listeners for mq broker and agent
* render consumer group offsets
* remove subscribers from left menu
* topic with retention
* support editing topic retention
* show retention when listing topics
* create bucket
* Update s3_buckets_templ.go
* embed the static assets into the binary
fix https://github.com/seaweedfs/seaweedfs/issues/6964
2025-07-11 10:19:27 -07:00
chrislu
39b7e44fb5
embed static assets
...
fix https://github.com/seaweedfs/seaweedfs/issues/6946
2025-07-07 12:42:13 -07:00
Chris Lu
aa66852304
Admin UI add maintenance menu ( #6944 )
...
* add ui for maintenance
* valid config loading. fix workers page.
* refactor
* grpc between admin and workers
* add a long-running bidirectional grpc call between admin and worker
* use the grpc call to heartbeat
* use the grpc call to communicate
* worker can remove the http client
* admin uses http port + 10000 as its default grpc port
* one task one package
* handles connection failures gracefully with exponential backoff
* grpc with insecure tls
* grpc with optional tls
* fix detecting tls
* change time config from nano seconds to seconds
* add tasks with 3 interfaces
* compiles reducing hard coded
* remove a couple of tasks
* remove hard coded references
* reduce hard coded values
* remove hard coded values
* remove hard coded from templ
* refactor maintenance package
* fix import cycle
* simplify
* simplify
* auto register
* auto register factory
* auto register task types
* self register types
* refactor
* simplify
* remove one task
* register ui
* lazy init executor factories
* use registered task types
* DefaultWorkerConfig remove hard coded task types
* remove more hard coded
* implement get maintenance task
* dynamic task configuration
* "System Settings" should only have system level settings
* adjust menu for tasks
* ensure menu not collapsed
* render job configuration well
* use templ for ui of task configuration
* fix ordering
* fix bugs
* saving duration in seconds
* use value and unit for duration
* Delete WORKER_REFACTORING_PLAN.md
* Delete maintenance.json
* Delete custom_worker_example.go
* remove address from workers
* remove old code from ec task
* remove creating collection button
* reconnect with exponential backoff
* worker use security.toml
* start admin server with tls info from security.toml
* fix "weed admin" cli description
2025-07-06 13:57:02 -07:00
chrislu
302e62d480
link to volume details
2025-07-04 14:45:13 -07:00
chrislu
df30737505
adjust enterprise link
2025-07-04 14:44:38 -07:00
chrislu
fc55d2d8e0
link to volume detail page
2025-07-04 13:55:43 -07:00
chrislu
d8da465cd3
fix link to volume server; display volume space usage
2025-07-04 13:52:28 -07:00
chrislu
e85fbd29a1
refactor
2025-07-04 13:33:58 -07:00
chrislu
a5f48de7d6
add vacuum operation
2025-07-04 13:11:43 -07:00
chrislu
0c1d4b2d08
tweak ui
2025-07-04 12:56:28 -07:00
chrislu
84d4ea0995
show volume details
2025-07-04 12:49:34 -07:00
chrislu
2cfe079a1f
weed admin: remove system health status
2025-07-02 23:57:36 -07:00
chrislu
e89941f390
weed admin: minor
2025-07-02 23:46:26 -07:00
chrislu
645b6d2603
weed admin: disk types card can also show all disk type values, not just a count.
2025-07-02 23:31:17 -07:00
chrislu
5e6d94319b
weed admin: add version to volumes page
2025-07-02 23:28:00 -07:00
chrislu
ebb16f474c
remove status fields
2025-07-02 23:17:27 -07:00
chrislu
40e3eae21f
admin ui: filter by collection
2025-07-02 22:48:21 -07:00
chrislu
2268d2f55e
add back dynamic columns
2025-07-02 22:06:06 -07:00
chrislu
1cac3e73f9
show counts for rack and disk type
2025-07-02 21:53:06 -07:00
Chris Lu
080dce80eb
weed admin UI dynamically show columns ( #6939 )
...
* show counts for rack and disk type
* dynamically display columns if more than one value
* adjust ui
2025-07-02 21:49:37 -07:00
chrislu
ac82dd7c07
Delete admin
2025-07-02 19:35:02 -07:00
Chris Lu
1db7c2b8aa
Add credential storage ( #6938 )
...
* add credential store interface
* load credential.toml
* lint
* create credentialManager with explicit store type
* add type name
* InitializeCredentialManager
* remove unused functions
* fix missing import
* fix import
* fix nil configuration
2025-07-02 18:03:17 -07:00
chrislu
6b706f9ccd
rename files
...
*_server.go - main server files
*_management.go - business logic
*_data.go - data structures and types
*_middleware.go - middleware logic
2025-07-02 00:04:46 -07:00
chrislu
f47c4aef5a
object store users
2025-07-02 00:00:23 -07:00
chrislu
4aec3c3fb9
purge unused
2025-07-01 23:16:48 -07:00
chrislu
76d773bf88
viewer, download, properties
2025-07-01 21:27:38 -07:00
chrislu
d4f4c04361
remove ttl for collections
2025-07-01 21:11:31 -07:00
chrislu
2f9321086f
add version, add alpha, add link to enterprise version
2025-07-01 21:02:12 -07:00
chrislu
471910736d
remove ttl from collections
2025-07-01 21:01:49 -07:00
chrislu
757c436a82
collection has multiple disk types
2025-07-01 20:27:42 -07:00
chrislu
b2849ec435
set uid gid
2025-07-01 20:03:50 -07:00
chrislu
ae1d0a82ce
add bucket quota
2025-07-01 19:59:45 -07:00
chrislu
5c2b2e5513
clean up s3 bucket references
2025-07-01 08:41:53 -07:00
Chris Lu and Copilot
1defee3d68
Add admin component ( #6928 )
...
* init version
* relocate
* add s3 bucket link
* refactor handlers into weed/admin folder
* fix login logout
* adding favicon
* remove fall back to http get topology
* grpc dial option, disk total capacity
* show filer count
* fix each volume disk usage
* add filers to dashboard
* adding hosts, volumes, collections
* refactor code and menu
* remove "refresh" button
* fix data for collections
* rename cluster hosts into volume servers
* add masters, filers
* reorder
* adding file browser
* create folder and upload files
* add filer version, created at time
* remove mock data
* remove fields
* fix submenu item highlighting
* fix bucket creation
* purge files
* delete multiple
* fix bucket creation
* remove region from buckets
* add object store with buckets and users
* rendering permission
* refactor
* get bucket objects and size
* link to file browser
* add file size and count for collections page
* paginate the volumes
* fix possible SSRF
https://github.com/seaweedfs/seaweedfs/pull/6928/checks?check_run_id=45108469801
* Update weed/command/admin.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update weed/command/admin.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix build
* import
* remove filer CLI option
* remove filer option
* remove CLI options
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-01 01:28:09 -07:00