Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: OpenCSGs/csghub
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0
Choose a base ref
...
head repository: OpenCSGs/csghub
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Dec 16, 2024

  1. Refactor evaluation and resource console components for improved layo…

    …ut and responsiveness (#853)
    
    - Updated EvaluationDetail.vue to use full-width containers for better responsiveness.
    - Adjusted spacing and layout in ResourceConsoleIndex.vue, including consistent margin and padding adjustments.
    - Replaced specific margin values with more uniform classes for better maintainability.
    - Enhanced button styles for consistency across the application.
    
    These changes aim to improve the user interface and ensure a more cohesive design across components.
    youngbeom-shin authored Dec 16, 2024
    Copy the full SHA
    222cd81 View commit details
  2. docs(i18n): update-access-token-description (#854)

    - Revised the description of access tokens to better explain their purpose and the importance of keeping them confidential.
    - Ensured consistency in messaging across both English and Chinese locale files.
    
    These changes aim to enhance user understanding of access tokens and promote best security practices.
    youngbeom-shin authored Dec 16, 2024
    Copy the full SHA
    7209a0f View commit details

Commits on Dec 17, 2024

  1. Copy the full SHA
    4ab3cfd View commit details
  2. Copy the full SHA
    5ba4827 View commit details
  3. style: update UI components with consistent spacing & borders (#857)

    Standardize spacing units, button styles, border colors, and typography across multiple components. Replace pixel values with Tailwind classes, update button styles to use btn classes, and normalize border/shadow styles for better visual consistency.
    youngbeom-shin authored Dec 17, 2024
    Copy the full SHA
    c85da6b View commit details
  4. fix(ui): update tag width for better text display (#858)

    Replace fixed max-width with dynamic w-fit class to prevent text truncation in ApplicationSpaceItem and RepoItem components, improving tag readability on all screen sizes
    youngbeom-shin authored Dec 17, 2024
    Copy the full SHA
    9de45e1 View commit details

Commits on Dec 18, 2024

  1. Copy the full SHA
    f7e91d7 View commit details
  2. Replace submit button (#861)

    * replace form submit button to csghub-button
    
    * update new evaluation submit button
    
    * fix dataset create bug
    
    * update new dataset test
    zhendi authored Dec 18, 2024
    Copy the full SHA
    35555bb View commit details

Commits on Dec 19, 2024

  1. add admin tags

    yoiteyou committed Dec 19, 2024
    Copy the full SHA
    fc016e6 View commit details
  2. Complete the unit tests for model components (#859)

    * feat: newModel test
    
    * test(NewModel): enhance tests for default owner and async operations
    
    * test(NewModel): enhance form validation and submission tests
    
    * test(NewModel): update form submission tests
    
    * test: enhance unit tests for model components coverage to 40%
    
    * test(Model): skip props rendering test for future implementation
    
    * test(model): update inference tests
    
    * test: improve comments
    
    * fix: update error messages
    
    * fix: handling in NewModel and NewDataset components
    
    * test: add delay to button click test for async handling
    jialudev authored Dec 19, 2024
    Copy the full SHA
    0580c19 View commit details
  3. Bump up go version (#863)

    hiveer authored Dec 19, 2024
    Copy the full SHA
    276000f View commit details

Commits on Dec 20, 2024

  1. Copy the full SHA
    c763ba0 View commit details
  2. Merge pull request #865 from OpenCSGs/csghub__tags

    add admin tags
    yoiteyou authored Dec 20, 2024
    Copy the full SHA
    57999b3 View commit details

Commits on Dec 23, 2024

  1. refactor(guide): optimize code display and copy behavior (#867)

    Remove leading whitespace, update code formatting for better readability, and implement clipboard text for single-line git commands while preserving multi-line display
    youngbeom-shin authored Dec 23, 2024
    Copy the full SHA
    4b89fdd View commit details

Commits on Dec 24, 2024

  1. refactor(guides): improve code formatting and readability in Gradio a…

    …nd Streamlit initialization guides (#869)
    
    - Removed leading whitespace from git clone commands for consistency.
    - Updated Python code snippets to use array join for better formatting.
    - Enhanced bash command display with code blocks for improved readability.
    youngbeom-shin authored Dec 24, 2024
    Copy the full SHA
    e7d1ede View commit details

Commits on Dec 25, 2024

  1. Copy the full SHA
    48409e6 View commit details
  2. Copy the full SHA
    a45d4f2 View commit details
  3. Collection name requires a red asterisk to indicate it as mandatory d…

    …uring creation. (#852)
    
    * fix: label required
    
    * fix: item width style
    jialudev authored Dec 25, 2024
    Copy the full SHA
    b35b8b4 View commit details

Commits on Dec 26, 2024

  1. Copy the full SHA
    22bbb13 View commit details
  2. add unit tests for Dataset (#874)

    * test: add unit tests for Dataset
    jialudev authored Dec 26, 2024
    Copy the full SHA
    c11a74a View commit details
  3. add codes unit test (#875)

    zhendi authored Dec 26, 2024
    Copy the full SHA
    c0fef23 View commit details

Commits on Dec 27, 2024

  1. Copy the full SHA
    43a175b View commit details
  2. unit test for finetune (#876)

    feat: add unit tests for Finetune components
    jialudev authored Dec 27, 2024
    Copy the full SHA
    7dad4f5 View commit details
  3. Copy the full SHA
    75f1d0b View commit details

Commits on Dec 30, 2024

  1. Unit test for user settings profile (#880)

    * Add user settings profile test
    
    * Migrate changes and fix unit test
    
    * Part of profile unit test
    
    * Fix unit test
    hiveer authored Dec 30, 2024
    Copy the full SHA
    160da8b View commit details

Commits on Jan 3, 2025

  1. Copy the full SHA
    f152070 View commit details

Commits on Jan 6, 2025

  1. Optimize navbar responsive (#886)

    Co-authored-by: HiveerLi <pingl@opencsg.com>
    hiveer and HiveerLi authored Jan 6, 2025
    Copy the full SHA
    1563384 View commit details
  2. Unit test for organization (#881)

    * NewOrganization test
    
    * OrganizationSettings test
    
    * Update test
    
    * OrganizationDetail test
    
    * Code refactor
    
    * Code refactor
    
    ---------
    
    Co-authored-by: minghao.yang <mh.yang@opencsg.com>
    Co-authored-by: Hiveer <ljp.hiveer@gmail.com>
    3 people authored Jan 6, 2025
    Copy the full SHA
    21921a7 View commit details
  3. Copy the full SHA
    351d55a View commit details
  4. Copy the full SHA
    6500412 View commit details
  5. Copy the full SHA
    e5b4f87 View commit details
  6. Copy the full SHA
    3589675 View commit details

Commits on Jan 7, 2025

  1. Copy the full SHA
    f511917 View commit details

Commits on Jan 8, 2025

  1. Optimize api error code handler (#804)

    * Only popup relogin dialog when code is 401
    
    * Optimize the error handle of api response
    
    * Fix ElMessage missing
    
    * Remove not used code
    
    * Optimize error page redirection
    
    * Bug fix
    
    * Optimize error message
    hiveer authored Jan 8, 2025
    Copy the full SHA
    f7fabcd View commit details
  2. Admin tag category fetch from server (#892)

    * Fetch tag category from server
    
    * Fetch tag category from server and make it related to tag scope
    
    * Bug fix
    hiveer authored Jan 8, 2025
    Copy the full SHA
    af9e5bf View commit details
  3. Support multiple tag filter (#893)

    * Update the api for filter repos by tag category and tag name
    
    * Support multiple tag filter
    
    * bug fix consider the undefine case
    
    * Fix unit test
    hiveer authored Jan 8, 2025
    Copy the full SHA
    9dba6bd View commit details

Commits on Jan 13, 2025

  1. Copy the full SHA
    49600c7 View commit details
  2. Refactor buttons in RepoClone.vue (#899)

    * Refactor buttons in RepoClone.vue to use CsgButton component for consistency and improved styling. Updated button properties and classes for better UI alignment and functionality.
    
    * update CsgButton to support svg
    
    * Refactor HeaderTags.vue to use optional chaining for tag length checks, improving robustness against undefined values.
    
    ---------
    
    Co-authored-by: zhendi <zhendi.wang@gmail.com>
    youngbeom-shin and zhendi authored Jan 13, 2025
    Copy the full SHA
    28ffeb1 View commit details

Commits on Jan 14, 2025

  1. Bug fix (#901)

    hiveer authored Jan 14, 2025
    Copy the full SHA
    73ef4fe View commit details
  2. Tag side bar refactor (#895)

    * Move fetch tags from repo cards to tag side bar
    
    * Reafctor tag side bar and fetch tag category from server
    
    * Refactor tag side bar
    
    * Bug fix for tag select
    
    * Support general tags
    
    * Enable tag name i18n
    
    * Optimize tag management tag filter
    
    * Remove comments and bug fix
    
    * Fix tags locale
    
    * New category
    
    * Tag bug fix
    
    * Fix unit test
    
    * Remove comments
    
    * Bug fix on filter by tag
    
    * Bug fix
    hiveer authored Jan 14, 2025
    Copy the full SHA
    4ebcf88 View commit details

Commits on Jan 15, 2025

  1. style(ui): standardize relation cards styling and spacing (#903)

    * style(ui): standardize relation cards styling and spacing
    
    * style(ui): update text size in relation cards for improved readability
    youngbeom-shin authored Jan 15, 2025
    Copy the full SHA
    a021f5d View commit details
  2. Copy the full SHA
    e7da1cc View commit details

Commits on Jan 16, 2025

  1. refactor(prompts): standardize UI components and styling (#905)

    * refactor(prompts): standardize UI components and styling
    
    Replace custom buttons with CsgButton, update color scheme to use Tailwind classes, improve responsive design, and standardize component spacing across prompts pages. Enhance accessibility with hover states and consistent text sizes.
    
    * style(prompts): enhance button styling and disable state in NewPromptsList.vue
    
    Updated the button in NewPromptsList.vue to use dynamic classes for improved styling based on the button's state. The button is now visually distinct when disabled, enhancing user experience and accessibility.
    youngbeom-shin authored Jan 16, 2025
    Copy the full SHA
    68ef616 View commit details
  2. fix(prompts): update button actions and labels in PromptsList.vue (#906)

    Changed the button action from 'newPromptsList' to 'newPrompt' and updated the button label to reflect this change. This improves clarity and consistency in the user interface for managing prompts.ß
    youngbeom-shin authored Jan 16, 2025
    Copy the full SHA
    522f656 View commit details
  3. Copy the full SHA
    8a7fff2 View commit details

Commits on Jan 19, 2025

  1. Copy the full SHA
    32d5eac View commit details

Commits on Jan 20, 2025

  1. update release notes

    Yiling-J authored and Rader committed Jan 20, 2025
    Copy the full SHA
    dc1e010 View commit details

Commits on Jan 21, 2025

  1. feat(navbar): add admin panel link and localization (#912)

    - Wrap user avatar in a link to profile
      - Add admin panel link for admin users
      - Update English and Chinese localization for admin panel text
    youngbeom-shin authored Jan 21, 2025
    Copy the full SHA
    5a36253 View commit details

Commits on Jan 23, 2025

  1. Copy the full SHA
    c9657f2 View commit details

Commits on Jan 24, 2025

  1. Csghub widget (#915)

    * add widget
    
    * add widget
    
    * update params&api
    
    * fix style
    
    * fix mobile style
    
    * add loading img fun
    
    * fix loading
    
    * fix ut
    yoiteyou authored Jan 24, 2025
    Copy the full SHA
    222eecd View commit details
Showing with 8,584 additions and 1,934 deletions.
  1. +52 −0 .github/workflows/docker-image-main.yml
  2. +4 −0 .github/workflows/{docker-image.yml → docker-image-semantic.yml}
  3. +4 −2 README.md
  4. +2 −2 README_es.md
  5. +1 −1 README_jp.md
  6. +1 −1 README_kr.md
  7. +2 −2 README_zh.md
  8. +1 −1 docs/readme_cn.md
  9. +1 −1 docs/readme_kr.md
  10. +4 −0 docs/release_notes.md
  11. +8 −1 docs/release_notes_zh.md
  12. +10 −0 frontend/jsconfig.json
  13. +4 −2 frontend/package.json
  14. BIN frontend/public/images/empty-models.png
  15. +3 −0 frontend/public/images/icons/admin-menu-broadcast.svg
  16. +3 −0 frontend/public/images/icons/admin-menu-tag.svg
  17. +5 −0 frontend/public/images/icons/broadcast-close-dark.svg
  18. +3 −0 frontend/public/images/icons/broadcast-close-light.svg
  19. +3 −0 frontend/public/images/icons/broadcast-notice-dark.svg
  20. +3 −0 frontend/public/images/icons/broadcast-notice-light.svg
  21. +4 −0 frontend/public/images/icons/parquet_api.svg
  22. +4 −0 frontend/public/images/icons/parquet_auto_converted.svg
  23. +4 −0 frontend/public/images/icons/parquet_viewer.svg
  24. +1 −3 frontend/public/images/icons/space_docker.svg
  25. +5 −0 frontend/public/images/icons/space_docker_gray.svg
  26. +56 −1 frontend/setupTests.js
  27. +1 −1 frontend/src/assets/stylesheets/element-plus/input.css
  28. +1 −1 frontend/src/components/OnPremiseFooter.vue
  29. +89 −0 frontend/src/components/__tests__/application_spaces/ApplicationSpaceSettings.spec.js
  30. +118 −0 frontend/src/components/__tests__/application_spaces/NewApplicationSpace.spec.js
  31. +42 −0 frontend/src/components/__tests__/application_spaces/SpaceRelationsCard.spec.js
  32. +39 −0 frontend/src/components/__tests__/codes/CodeRelationsCard.spec.js
  33. +70 −0 frontend/src/components/__tests__/codes/CodeSettings.spec.js
  34. +109 −0 frontend/src/components/__tests__/codes/NewCode.spec.js
  35. +122 −0 frontend/src/components/__tests__/collections/NewCollection.spec.js
  36. +59 −0 frontend/src/components/__tests__/datasets/DatasetRelationsCard.spec.js
  37. +144 −0 frontend/src/components/__tests__/datasets/DatasetSettings.spec.js
  38. +49 −25 frontend/src/components/__tests__/datasets/NewDataset.spec.js
  39. +115 −0 frontend/src/components/__tests__/endpoints/EndpointDetail.spec.js
  40. +85 −0 frontend/src/components/__tests__/endpoints/EndpointItem.spec.js
  41. +88 −0 frontend/src/components/__tests__/endpoints/EndpointLogs.spec.js
  42. +93 −0 frontend/src/components/__tests__/endpoints/EndpointPage.spec.js
  43. +82 −0 frontend/src/components/__tests__/endpoints/EndpointPlayground.spec.js
  44. +91 −0 frontend/src/components/__tests__/endpoints/EndpointSettings.spec.js
  45. +103 −0 frontend/src/components/__tests__/endpoints/NewEndpoint.spec.js
  46. +85 −0 frontend/src/components/__tests__/evaluations/EvaluationDetail.spec.js
  47. +140 −0 frontend/src/components/__tests__/evaluations/NewEvaluation.spec.js
  48. +122 −0 frontend/src/components/__tests__/finetune/FinetuneDetail.spec.js
  49. +89 −0 frontend/src/components/__tests__/finetune/FinetuneSettings.spec.js
  50. +86 −0 frontend/src/components/__tests__/finetune/NewFinetune.spec.js
  51. +42 −0 frontend/src/components/__tests__/models/ModelRelationsCard.spec.js
  52. +119 −0 frontend/src/components/__tests__/models/ModelSettings.spec.js
  53. +114 −0 frontend/src/components/__tests__/models/NewModel.spec.js
  54. +86 −0 frontend/src/components/__tests__/models/widgets/QuestionAnswer.spec.js
  55. +79 −0 frontend/src/components/__tests__/organizations/NewOrganization.spec.js
  56. +118 −0 frontend/src/components/__tests__/organizations/OrganizationDetail.spec.js
  57. +137 −0 frontend/src/components/__tests__/organizations/OrganizationSettings.spec.js
  58. +124 −0 frontend/src/components/__tests__/shared/RepoCards.spec.js
  59. +100 −0 frontend/src/components/__tests__/user_settings/Menu.spec.js
  60. +168 −0 frontend/src/components/__tests__/user_settings/Profile.spec.js
  61. +1 −1 frontend/src/components/admin_next/admin_component/Menu.vue
  62. +197 −0 frontend/src/components/admin_next/broadcast/AdminBroadcastEdit.vue
  63. +118 −0 frontend/src/components/admin_next/broadcast/AdminBroadcastList.vue
  64. +176 −0 frontend/src/components/admin_next/broadcast/AdminBroadcastNew.vue
  65. +94 −12 frontend/src/components/admin_next/router/index.js
  66. +198 −0 frontend/src/components/admin_next/tag_categories/AdminTagCategoriesForm.vue
  67. +124 −0 frontend/src/components/admin_next/tag_categories/AdminTagCategoriesList.vue
  68. +80 −0 frontend/src/components/admin_next/tags/AdminTagsDetail.vue
  69. +246 −0 frontend/src/components/admin_next/tags/AdminTagsForm.vue
  70. +319 −0 frontend/src/components/admin_next/tags/AdminTagsList.vue
  71. +1 −1 frontend/src/components/admin_next/users/AdminUserDetail.vue
  72. +80 −31 frontend/src/components/application_spaces/ApplicationSpaceDetail.vue
  73. +1 −1 frontend/src/components/application_spaces/ApplicationSpaceItem.vue
  74. +39 −1 frontend/src/components/application_spaces/ApplicationSpaceSettings.vue
  75. +26 −23 frontend/src/components/application_spaces/BuildAndErrorPage.vue
  76. +31 −19 frontend/src/components/application_spaces/GradioInitializeGuide.vue
  77. +89 −9 frontend/src/components/application_spaces/NewApplicationSpace.vue
  78. +5 −5 frontend/src/components/application_spaces/SpaceRelationsCard.vue
  79. +10 −11 frontend/src/components/application_spaces/StoppedPage.vue
  80. +28 −16 frontend/src/components/application_spaces/StreamlitInitializeGuide.vue
  81. +4 −4 frontend/src/components/codes/CodeRelationsCard.vue
  82. +1 −0 frontend/src/components/codes/CodeSettings.vue
  83. +3 −4 frontend/src/components/codes/NewCode.vue
  84. +3 −2 frontend/src/components/collections/AddToCollections.vue
  85. +9 −10 frontend/src/components/collections/CollectionIndex.vue
  86. +1 −1 frontend/src/components/collections/CollectionsDetail.vue
  87. +34 −44 frontend/src/components/collections/NewCollection.vue
  88. +1 −0 frontend/src/components/community/CommunityPage.vue
  89. +1 −1 frontend/src/components/community/DiscussionCards.vue
  90. +3 −3 frontend/src/components/community/EmptyCommunity.vue
  91. +4 −4 frontend/src/components/datasets/DatasetRelationsCard.vue
  92. +1 −1 frontend/src/components/datasets/DatasetSettings.vue
  93. +30 −16 frontend/src/components/datasets/NewDataset.vue
  94. +260 −0 frontend/src/components/datasets/ParquetViewer.vue
  95. +2 −1 frontend/src/components/endpoints/EndpointDetail.vue
  96. +59 −17 frontend/src/components/endpoints/EndpointLogs.vue
  97. +59 −22 frontend/src/components/endpoints/EndpointPage.vue
  98. +102 −1 frontend/src/components/endpoints/EndpointPlayground.vue
  99. +1 −1 frontend/src/components/endpoints/EndpointSettings.vue
  100. +62 −5 frontend/src/components/endpoints/NewEndpoint.vue
  101. +286 −0 frontend/src/components/endpoints/playground/ApiWidget.vue
  102. +15 −12 frontend/src/components/endpoints/playground/TestEndpoint.vue
  103. +195 −0 frontend/src/components/endpoints/playground/TestWidget.vue
  104. +7 −4 frontend/src/components/evaluations/EvaluationDetail.vue
  105. +24 −54 frontend/src/components/evaluations/NewEvaluation.vue
  106. +46 −21 frontend/src/components/finetune/FinetuneDetail.vue
  107. +2 −2 frontend/src/components/finetune/FinetuneSettings.vue
  108. +5 −5 frontend/src/components/finetune/NewFinetune.vue
  109. +15 −0 frontend/src/components/models/EmptyModels.vue
  110. +1 −1 frontend/src/components/models/ModelSettings.vue
  111. +27 −13 frontend/src/components/models/NewModel.vue
  112. +74 −0 frontend/src/components/navbar/Broadcast.vue
  113. +66 −78 frontend/src/components/navbar/MenuItems.vue
  114. +117 −107 frontend/src/components/navbar/Navbar.vue
  115. +7 −8 frontend/src/components/organizations/NewOrganization.vue
  116. +0 −3 frontend/src/components/organizations/OrganizationDetail.vue
  117. +2 −1 frontend/src/components/organizations/OrganizationEdit.vue
  118. +54 −60 frontend/src/components/popup/UpdateUsername.vue
  119. +10 −12 frontend/src/components/prompts/EditPrompt.vue
  120. +10 −12 frontend/src/components/prompts/NewPrompt.vue
  121. +14 −12 frontend/src/components/prompts/NewPromptsList.vue
  122. +7 −6 frontend/src/components/prompts/PromptRelationsCard.vue
  123. +34 −35 frontend/src/components/prompts/PromptsCard.vue
  124. +24 −27 frontend/src/components/prompts/PromptsDetails.vue
  125. +1 −1 frontend/src/components/prompts/PromptsHub.vue
  126. +17 −17 frontend/src/components/prompts/PromptsIndex.vue
  127. +2 −2 frontend/src/components/prompts/PromptsLibrary.vue
  128. +64 −39 frontend/src/components/prompts/PromptsList.vue
  129. +40 −41 frontend/src/components/prompts/PromptsListSettings.vue
  130. +1 −1 frontend/src/components/prompts/PromptsMenu.vue
  131. +1 −0 frontend/src/components/resource_console/EvaluationTable.vue
  132. +15 −15 frontend/src/components/resource_console/ResourceConsoleIndex.vue
  133. +1 −0 frontend/src/components/shared/BillingDetail.vue
  134. +2 −3 frontend/src/components/shared/Blob.vue
  135. +3 −3 frontend/src/components/shared/BranchDropdown.vue
  136. +15 −1 frontend/src/components/shared/CsgButton.vue
  137. +48 −8 frontend/src/components/shared/FileList.vue
  138. +11 −11 frontend/src/components/shared/HeaderTags.vue
  139. +40 −0 frontend/src/components/shared/InstanceInBuilding.vue
  140. +1 −0 frontend/src/components/shared/NewFile.vue
  141. +100 −74 frontend/src/components/shared/ProfileRepoList.vue
  142. +119 −121 frontend/src/components/shared/RepoCards.vue
  143. +39 −69 frontend/src/components/shared/RepoClone.vue
  144. +36 −17 frontend/src/components/shared/RepoDetail.vue
  145. +2 −2 frontend/src/components/shared/RepoHeader.vue
  146. +23 −24 frontend/src/components/shared/RepoItem.vue
  147. +27 −3 frontend/src/components/shared/RepoSummary.vue
  148. +9 −4 frontend/src/components/shared/RepoTabs.vue
  149. +7 −3 frontend/src/components/shared/TabContainer.vue
  150. +1 −1 frontend/src/components/shared/ViewMore.vue
  151. +50 −0 frontend/src/components/tags/LanguageTagItem.vue
  152. +53 −0 frontend/src/components/tags/LicenseTagItem.vue
  153. +43 −0 frontend/src/components/tags/TagCategory.vue
  154. +21 −12 frontend/src/components/tags/TagItem.vue
  155. +159 −0 frontend/src/components/tags/TagList.vue
  156. +135 −327 frontend/src/components/tags/TagSidebar.vue
  157. +34 −0 frontend/src/components/tags/TaskTagItem.vue
  158. +5 −12 frontend/src/components/tags/frameworks/GGUF.vue
  159. +5 −12 frontend/src/components/tags/frameworks/JAX.vue
  160. +6 −12 frontend/src/components/tags/frameworks/Joblib.vue
  161. +5 −12 frontend/src/components/tags/frameworks/ONNX.vue
  162. +5 −12 frontend/src/components/tags/frameworks/PaddlePaddle.vue
  163. +37 −19 frontend/src/components/tags/frameworks/PyTorch.vue
  164. +5 −12 frontend/src/components/tags/frameworks/Safetensors.vue
  165. +5 −12 frontend/src/components/tags/frameworks/TensorFlow.vue
  166. +3 −3 frontend/src/components/user_settings/AccessTokenSettings.vue
  167. +100 −74 frontend/src/components/user_settings/Menu.vue
  168. +17 −18 frontend/src/components/user_settings/Profile.vue
  169. +20 −21 frontend/src/components/user_settings/ProfileEdit.vue
  170. +1 −1 frontend/src/components/user_settings/SshKeySettings.vue
  171. +1 −1 frontend/src/locales/en_js/accessToken.js
  172. +58 −1 frontend/src/locales/en_js/admin.js
  173. +12 −4 frontend/src/locales/en_js/all.js
  174. +7 −0 frontend/src/locales/en_js/application_spaces.js
  175. +2 −1 frontend/src/locales/en_js/datasets.js
  176. +7 −2 frontend/src/locales/en_js/endpoints.js
  177. +2 −0 frontend/src/locales/en_js/evaluation.js
  178. +16 −1 frontend/src/locales/en_js/models.js
  179. +4 −0 frontend/src/locales/en_js/navbar.js
  180. +5 −5 frontend/src/locales/en_js/profile.js
  181. +1 −1 frontend/src/locales/zh_js/accessToken.js
  182. +58 −1 frontend/src/locales/zh_js/admin.js
  183. +11 −3 frontend/src/locales/zh_js/all.js
  184. +7 −0 frontend/src/locales/zh_js/application_spaces.js
  185. +2 −1 frontend/src/locales/zh_js/datasets.js
  186. +7 −2 frontend/src/locales/zh_js/endpoints.js
  187. +2 −0 frontend/src/locales/zh_js/evaluation.js
  188. +14 −0 frontend/src/locales/zh_js/models.js
  189. +4 −0 frontend/src/locales/zh_js/navbar.js
  190. +5 −5 frontend/src/locales/zh_js/profile.js
  191. +16 −3 frontend/src/packs/resolveContent.js
  192. +22 −6 frontend/src/packs/useFetchApi.js
  193. +0 −7 frontend/src/packs/usePermissionCheck.js
  194. +21 −0 frontend/src/packs/utils.js
  195. +20 −2 frontend/src/stores/UserStore.js
  196. +1 −8 frontend/src/views/layouts/navbar.html
  197. +0 −3 frontend/vite.config.js
  198. +1 −1 frontend/vitest.config.js
  199. +63 −51 frontend/yarn.lock
  200. +1 −1 go.mod
  201. +7 −1 internal/handlers/frontend/token.go
  202. +12 −8 internal/handlers/render/session.go
  203. +2 −0 internal/middleware/auth_middleware.go
  204. +0 −1 internal/routes/router.go
  205. +17 −11 makefile
52 changes: 52 additions & 0 deletions .github/workflows/docker-image-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Docker Image CI

on:
push:
branches:
- 'main'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3

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

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Log in to ACR
uses: docker/login-action@v3
with:
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
registry: ${{ secrets.ACR_REGISTRY }}

- name: Extract Docker metadata (tags, labels)
id: meta
uses: docker/metadata-action@v5
with:
images: |
opencsg/csghub-portal
${{ secrets.ACR_REGISTRY }}/opencsg_public/csghub_portal
tags: |
type=raw,value=latest
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
provenance: false
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64,linux/arm64
Original file line number Diff line number Diff line change
@@ -46,6 +46,10 @@ jobs:
images: |
opencsg/csghub-portal
${{ secrets.ACR_REGISTRY }}/opencsg_public/csghub_portal
tags: |
type=ref,event=tag
flavor: |
latest=false
- name: Build and push Docker image
uses: docker/build-push-action@v6
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@

## CSGHub

CSGHub is an open-source platform designed for managing Large Language Models (LLM) assets, offering an efficient way to handle the entire LLM and their assets such as datasets, spaces and codes etc. It allows users to upload, download, store, verify, and distribute LLM assets via a web interface, `git` command line, a natural language Chatbot, or [CSGHub SDK](https://github.com/OpenCSGs/csghub-sdk).
CSGHub is an open-source platform designed for managing Large Language Models (LLM) assets, offering an efficient way to handle the entire LLM and their assets such as datasets, spaces and codes etc. It allows users to upload, download, store, verify, and distribute LLM assets like DeepSeek,Llama etc.via a web interface, `git` command line, a natural language Chatbot, or [CSGHub SDK](https://github.com/OpenCSGs/csghub-sdk).

Additionally, CSGHub features microservice submodules and standardized OpenAPIs for seamless integration with existing systems. It aims to provide a user-friendly management platform specifically for LLM, which can be deployed On-Premise for secure, offline operation. Essentially, CSGHub serves as a private, on-premise version of Huggingface.

@@ -36,12 +36,14 @@ To help users get up to speed with CSGHub, we have created a demo video that hig

### Quick Start

- For local installation, please refer to the [CSGHub Installer](https://github.com/OpenCSGs/csghub-installer/) project. We offer several installation options including [Helm](https://github.com/OpenCSGs/csghub-installer/blob/main/helm/README.md), [Docker Compose](https://github.com/OpenCSGs/csghub-installer/blob/main/docker/compose/README.md) and [Docker All-in-One](https://github.com/OpenCSGs/csghub-installer/blob/main/docker/README.md). Please choose the option that best meets your requirements.

- For those looking to quickly explore, experiment with CSGHub's free SaaS version on the [OpenCSG website](https://opencsg.com). Refer to this [brief quick start guide](./docs/csghub_saas_en.md) to handle LLMs/datasets and deploy LLM applications with CSGHub SaaS interface.
For more information, please refer to the [OpenCSG Documentation Center](https://opencsg.com/docs/en/intro).

- For those seeking a hands-on experience, you can quickly launch CSGHub on your local environment (Linux/MacOS/Windows) using the [Docker one-click deployment guide](https://github.com/OpenCSGs/csghub-installer/tree/main/docker), which allows you to start an all-in-one container with simplified commands and instantly experience the core functionalities of CSGHub.

- For those deploying on Kubernetes, refer to the [Helm Chart installation guide](https://github.com/OpenCSGs/csghub-installer/tree/main/helm-chart) for step-by-step instructions.
- For those deploying on Kubernetes, refer to the [Helm Chart installation guide](https://github.com/OpenCSGs/csghub-installer/tree/main/helm) for step-by-step instructions.

### Quick Try
[![one-click deployment on Ali marketplace](https://img.alicdn.com/imgextra/i1/O1CN01YT0adL1pi2znO6BAJ_!!6000000005393-55-tps-208-40.svg)](https://market.aliyun.com/products/56014009/cmgj00068499.html?source=5176.29345612&userCode=swc743za)
4 changes: 2 additions & 2 deletions README_es.md
Original file line number Diff line number Diff line change
@@ -37,9 +37,9 @@ Para ayudar a los usuarios a familiarizarse rápidamente con CSGHub, hemos produ
- **Usuarios que desean explorar rápidamente:** Pueden experimentar la versión SaaS gratuita de CSGHub en el sitio web de [OpenCSG](https://opencsg.com). Consulte esta [guía de inicio rápido](./docs/csghub_saas_zh.md) para administrar grandes modelos y conjuntos de datos a través de la interfaz de CSGHub SaaS e implementar aplicaciones de grandes modelos.
Para obtener más información y tutoriales avanzados, consulte el [Centro de Documentación de OpenCSG](https://opencsg.com/docs/intro).

- **Usuarios que desean practicar más:** Si desea iniciar rápidamente CSGHub en su entorno local (Linux/MacOS/Windows), puede usar la [implementación de Docker en un clic](https://github.com/OpenCSGs/csghub-installer/blob/main/docs/zh/README_cn_docker.md) para iniciar una instancia de CSGHub, lanzando un contenedor todo en uno con el comando más simple y experimentar inmediatamente las funciones principales de CSGHub.
- **Usuarios que desean practicar más:** Si desea iniciar rápidamente CSGHub en su entorno local (Linux/MacOS/Windows), puede usar la [implementación de Docker en un clic](https://github.com/OpenCSGs/csghub-installer/blob/main/docs/zh/README_docker_cn.md) para iniciar una instancia de CSGHub, lanzando un contenedor todo en uno con el comando más simple y experimentar inmediatamente las funciones principales de CSGHub.

- **Usuarios que desean implementar en Kubernetes:** Consulte la [Guía de instalación de Helm Chart](https://github.com/OpenCSGs/csghub-installer/blob/main/docs/zh/README_cn_helm_chart.md) para la implementación.
- **Usuarios que desean implementar en Kubernetes:** Consulte la [Guía de instalación de Helm Chart](https://github.com/OpenCSGs/csghub-installer/blob/main/docs/zh/README_helm_cn.md) para la implementación.

### Mapa de ruta

2 changes: 1 addition & 1 deletion README_jp.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ CSGHub の主要な機能と使い方を素早く理解していただくため

- **さらに実践を希望するユーザーへ:** ローカル環境(Linux/MacOS/Windows)で CSGHub を迅速に起動したい場合は、[Docker ワンクリックデプロイ](https://github.com/OpenCSGs/csghub-installer/tree/main/docker)を使用して CSGHub インスタンスをセットアップできます。簡単なコマンドでオールインワンコンテナを起動し、CSGHub のコア機能をすぐに体験することができます。

- **Kubernetesでのデプロイを希望する方:** KubernetesクラスタでのCSGHubのデプロイについては、[Helm Chartインストールガイド](https://github.com/OpenCSGs/csghub-installer/tree/main/helm-chart)をご覧ください。
- **Kubernetesでのデプロイを希望する方:** KubernetesクラスタでのCSGHubのデプロイについては、[Helm Chartインストールガイド](https://github.com/OpenCSGs/csghub-installer/tree/main/helm)をご覧ください。

### ロードマップ

2 changes: 1 addition & 1 deletion README_kr.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ CSGHub 를 빠르게 익힐 수 있도록 주요 기능과 사용 방법을 소

- **추가 실습을 원하는 사용자:** 로컬 환경(Linux/MacOS/Windows)에서 CSGHub를 빠르게 시작하고자 한다면 [Docker 원클릭 배포](https://github.com/OpenCSGs/csghub-installer/tree/main/docker)를 사용하여 CSGHub 인스턴스를 설치할 수 있습니다. 간단한 명령어로 올인원 컨테이너를 시작하여 CSGHub의 핵심 기능을 즉시 체험할 수 있습니다.

- **Kubernetes에 배포하려는 사용자:** [Helm Chart 설치 가이드](https://github.com/OpenCSGs/csghub-installer/tree/main/helm-chart)를 참조하여 단계별 지침을 따르세요.
- **Kubernetes에 배포하려는 사용자:** [Helm Chart 설치 가이드](https://github.com/OpenCSGs/csghub-installer/tree/main/helm)를 참조하여 단계별 지침을 따르세요.

### 로드맵

4 changes: 2 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
@@ -37,9 +37,9 @@ CSGHub 是一个开源平台,专为管理大语言模型(LLM)资产而设
- **想要快速探索的用户:** 可在 [OpenCSG 网站](https://opencsg.com)上体验 CSGHub 的免费 SaaS 版本。参考该[快速开始指南](./docs/csghub_saas_zh.md),通过 CSGHub SaaS 界面管理大模型和数据集,部署大模型应用。
更多信息与高级教程请参阅 [OpenCSG 文档中心](https://opencsg.com/docs/intro)

- **想要进一步实践的用户:** 若希望在本机环境(Linux/MacOS/Windows)上快速启动 CSGHub,可以使用 [Docker 一键部署](https://github.com/OpenCSGs/csghub-installer/blob/main/docs/zh/README_cn_docker.md) CSGHub 实例,通过最简化的命令启动一个 all-in-one 的容器,即刻体验 CSGHub 核心功能。
- **想要进一步实践的用户:** 若希望在本机环境(Linux/MacOS/Windows)上快速启动 CSGHub,可以使用 [Docker 一键部署](https://github.com/OpenCSGs/csghub-installer/blob/main/docs/zh/README_docker_cn.md) CSGHub 实例,通过最简化的命令启动一个 all-in-one 的容器,即刻体验 CSGHub 核心功能。

- **想要在 Kubernetes 上部署的用户:** 请参考 [Helm Chart 安装指南](https://github.com/OpenCSGs/csghub-installer/blob/main/docs/zh/README_cn_helm_chart.md)进行部署。
- **想要在 Kubernetes 上部署的用户:** 请参考 [Helm Chart 安装指南](https://github.com/OpenCSGs/csghub-installer/blob/main/docs/zh/README_helm_cn.md)进行部署。

### 路线图

2 changes: 1 addition & 1 deletion docs/readme_cn.md
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ CSGHub由Portal和Server两部分服务组成,本项目代码部分对应CSGHu
<img src="/docs/images/server_tech_graph.png" width='800'>

### 快速使用
请参考[部署帮助文档](https://github.com/OpenCSGs/csghub-installer/tree/main/docker-compose/csghub)部署一个基本功能的CSGHub实例.
请参考[部署帮助文档](https://github.com/OpenCSGs/csghub-installer/tree/main/docker/compose)部署一个基本功能的CSGHub实例.

### 详细技术文档
- [开发环境搭建](/docs/setup.md)
2 changes: 1 addition & 1 deletion docs/readme_kr.md
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ CSGHub Server에 대해 자세히 알아보거나 Server를 자체 프론트엔
<img src="/docs/images/server_tech_graph.png" width='800'>

### 빠른 사용
기본 기능을 갖춘 CSGHub 인스턴스를 배포하려면 배포 [도움말 문서](https://github.com/OpenCSGs/csghub-installer/tree/main/docker-compose/csghub)를 참조하세요.
기본 기능을 갖춘 CSGHub 인스턴스를 배포하려면 배포 [도움말 문서](https://github.com/OpenCSGs/csghub-installer/tree/main/docker/compose)를 참조하세요.

### 상세 기술 문서
- [개발 환경 설정](/docs/setup.md)
4 changes: 4 additions & 0 deletions docs/release_notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

- **[2025.01.15] v1.3.0**
Added tag management in the admin panel, sign-in redirection, and support for filtering by multiple tags on model, dataset, and code pages. Introduced multi sync proxy configuration via server config file, SGLang support for improved inference engine performance, updated Swift image for fine-tuning, and enabled public dataset creation via API. Refactored code for better quality and added additional tests for stability.
- **[2024.12.15] v1.2.0**
Resolved a security vulnerability; all users are strongly recommended to update. Added model evaluation feature for comparing AI models, supporting opencompass and LLM evaluation harness. For self-hosted Kubernetes users, manual Argo Workflow installation is required for model evaluation. Redesigned admin UI layout for better usability, standardized component styles for consistency, and improved page responsiveness for mobile and desktop. Introduced the Prompt Library for creating and managing reusable prompts in OpenCSG.
- **[2024.11.15] v1.1.0**
Enhanced multi-sync features with updated branch handling and callbacks for tagging, info updates, and scans. Admin dashboard improvements include user account deletion, excluding owners of organizations or resources, and mirror progress tracking. Added ms-swift fine-tuning support and new prompt-type repo for prompt management and dataset optimization. Changed user info retrieval to backend service. Bug fixes for organizational access, repo settings, repo tags filter, and collection addition. Repo now supports non-default branches. Added comment timestamps for community topics. Logout support via /logout included.
- **[2024.10.15] v1.0.0**
9 changes: 8 additions & 1 deletion docs/release_notes_zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# 版本公告

- **[2024.11.15] v1.0.0**
- **[2025.01.15] v1.3.0**
在管理面板中新增了标签管理功能,用户成功登录后将自动跳转回之前所在的页面。模型、数据集和代码页面现在支持按多个标签进行过滤。引入了多同步代理配置功能,通过服务器配置文件进行配置;推理引擎现已支持SGLang,能够提升性能;更新了Swift图像以支持最新版本的微调功能;API现在支持创建公共数据集。对代码进行了重构,提升了质量并增加了更多测试,进一步增强了系统的稳定性。

- **[2024.12.15] v1.2.0**
修复了一个安全漏洞,强烈建议所有用户立即更新至此版本以避免安全隐患。新增了模型评估功能,用户可以比较不同AI模型的性能,支持opencompass和LLM评估工具。对于自托管的Kubernetes用户,模型评估需要手动安装Argo Workflow。重新设计了管理员界面,提升了可用性和用户体验;统一了组件样式,确保一致性;优化了页面响应宽度,改善了移动端和桌面端的显示效果。引入了Prompt库功能,用户可以在OpenCSG中创建和管理可重用的提示词。

- **[2024.11.15] v1.1.0**
增强多源同步功能,支持更新默认分支并触发回调以处理标签、信息更新和扫描。管理员面板新增用户账户删除功能(组织或资源所有者除外)以及镜像进度显示。新增 ms-swift 微调支持和新的提示类型仓库,用于管理提示及数据集优化。用户信息获取方式改为后端服务。修复组织资源访问、仓库设置、标签筛选和集合添加问题。仓库支持非默认分支。改进多源同步功能,社区话题新增评论时间显示。支持通过 /logout 退出登录。

- **[2024.10.15] v1.0.0**
使多源同步功能更稳定,支持ARM平台的docker镜像构建,支持空间创建区域,自动生成Nvidia GPU,Huawei Ascend等资源类型的模型,自动构建repo和运行时框架关系,支持使用NIM进行模型推理,允许子集过滤和在数据集查看器中拆分,允许用户git访问令牌的自动初始化

10 changes: 10 additions & 0 deletions frontend/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
"exclude": ["node_modules", "dist"]
}

6 changes: 4 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
"diff": "^6.0.0-beta",
"diff2html": "^3.4.48",
"element-plus": "^2.8.0",
"flush-promises": "^1.0.2",
"highlight.js": "^11.10.0",
"jwt-decode": "^4.0.0",
"less": "^4.2.0",
@@ -37,7 +38,8 @@
"vue-codemirror": "^6.1.1",
"vue-i18n": "9",
"vue-router": "4",
"vue3-cookies": "^1.0.6"
"vue3-cookies": "^1.0.6",
"wait-for-expect": "^3.0.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.2",
@@ -48,6 +50,6 @@
"postcss": "^8.4.41",
"tailwindcss": "^3.4.13",
"vite": "^5.4.6",
"vitest": "^2.1.5"
"vitest": "^2.1.9"
}
}
Binary file added frontend/public/images/empty-models.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions frontend/public/images/icons/admin-menu-broadcast.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions frontend/public/images/icons/admin-menu-tag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions frontend/public/images/icons/broadcast-close-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions frontend/public/images/icons/broadcast-close-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions frontend/public/images/icons/broadcast-notice-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading