-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 馃洜 Fix potential not set cache (#2554) * Fix potential not set cache * Fix minor frontend bug * Fix old mention stuff * 馃洜 Minor badge fix * 馃攷 Increase thumbnails size (#2556) * 馃 Update KG sync (#2562) * Fix numbers formats * Make sure messages updates and users updates are sent * Do the same for companies and workspaces * 馃洜Fix quote reply css (#2563) * 馃専 Add read only channel option (#2558) * 馃専 Add read only channel option * 馃専 Add read only in channel schema + fix update param * 馃専 Update fr.json * Delete tailwind.css~Stashed changes Co-authored-by: Romaric Mourgues <rmourgues@linagora.com> * 馃専 Forward messages (#2566) * Add forward menu * Fix #2524 * Fix #2524 * Create modal * Finish initial version * Realtime online update * Realtime online update * Fix quoted message display * 馃洜 Fix online service typo (#2575) * 馃洜 Fix online service typo * Remove code * 馃帹 Add checkbox atom and fix avatar atom (#2576) * Add checkbox atom and fix avatar atom * Make onChange optional * Depreciate old checkbox * Fix and add translations * Fix linter * 馃洜 Fix ForwardMessages modal not in modal (#2578) * 馃帹 Channel settings new UI screens (#2579) * Worked on channel settings new UI screens * Some changes * Update translations and logic * Fix channel icon display * Update back to store in S3 channel thumbnail * Fix linter * Fix int tests * 馃洜 Fix backend save image (#2581) * 馃専 New invitation ui (#2577) * 馃専 added invitation ui * 馃専 added allow anyone by email feature * 馃専 add role check * 馃専 add invitation domain checks and implements auto join * 馃洜 fixed e2e tests * 馃専 added invite domain checking * 馃洜 fixed package-lock * Update changelog.md * Update changelog.md * 馃摎 Update changelog.md (#2587) * 馃洜 2550 fixes (#2591) * Fix all from #2550 * Fix #2549 * Fix const / let * 馃洜 Do not return files that doesn't exists anymore (#2592) * Do not return files that doesn't exists anymore * Fix filter * Fix displaying the forwarded message * Fix #2593 * 馃洜 Fix scrollbar on Documents (#2599) * 馃洜 Fix scrollbar on documents * Fix helpbar * 馃摎 Testing VitePress for documentation * Fix deployment issue * Fix deployment issue (#2604) * Fix it again Co-authored-by: Oubchid <roubraim@linagora.com> Co-authored-by: Khaled Ferjani <kferjani@linagora.com>
- Loading branch information
1 parent
4389098
commit 06f8907
Showing
139 changed files
with
4,787 additions
and
1,152 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Use Node.js 16 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16 | ||
- run: npm install -g yarn | ||
- run: cd Documentation && yarn install --frozen-lockfile | ||
- name: Build | ||
run: cd Documentation && yarn docs:build | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: Documentation/docs/.vitepress/dist |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export default { | ||
base: "linagora/Twake", | ||
title: "Twake", | ||
description: "Public API documentation", | ||
themeConfig: { | ||
logo: "https://twake.app/images/logo-twake.svg", | ||
sidebar: [ | ||
{ | ||
text: "Guide", | ||
items: [ | ||
{ text: "Introduction", link: "/" }, | ||
{ text: "Getting Started", link: "/get-started" }, | ||
], | ||
}, | ||
], | ||
}, | ||
head: [], | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
#docsearch { | ||
margin-right: 16px; | ||
} | ||
|
||
#docsearch .DocSearch-Button { | ||
justify-content: flex-start; | ||
border: 1px solid transparent; | ||
border-radius: 8px; | ||
padding: 0 10px 0 12px; | ||
width: 100%; | ||
height: 40px; | ||
background-color: var(--vp-c-bg-alt); | ||
} | ||
|
||
#docsearch .DocSearch-Button:hover { | ||
border-color: var(--vp-c-brand); | ||
background: var(--vp-c-bg-alt); | ||
} | ||
|
||
#docsearch .DocSearch-Button-Placeholder { | ||
transition: color 0.2s; | ||
} | ||
|
||
#docsearch .DocSearch-Button-Keys { | ||
display: flex; | ||
align-items: center; | ||
min-width: auto; | ||
pointer-events: auto; | ||
} | ||
|
||
#docsearch .DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key { | ||
border-right: 1px solid var(--vp-c-divider); | ||
border-left: none; | ||
border-radius: 0 4px 4px 0; | ||
padding-left: 2px; | ||
padding-right: 6px; | ||
} | ||
|
||
#docsearch .DocSearch-Button .DocSearch-Button-Key { | ||
display: block; | ||
margin: 2px 0 0; | ||
border: 1px solid var(--vp-c-divider); | ||
border-right: none; | ||
border-radius: 4px 0 0 4px; | ||
padding-left: 6px; | ||
min-width: 0; | ||
width: auto; | ||
height: 22px; | ||
line-height: 22px; | ||
font-family: var(--vp-font-family-base); | ||
font-size: 12px; | ||
font-weight: 500; | ||
transition: color .5s,border-color .5s; | ||
} | ||
|
||
/* Modal */ | ||
|
||
.DocSearch-Modal, .modal { | ||
border-radius: 6px; | ||
flex-direction: column; | ||
margin: 60px auto auto; | ||
max-width: 600px; | ||
position: relative; | ||
} | ||
|
||
.modal .flex-logo { | ||
width: 56px; | ||
margin-left: calc(100% - 74px); | ||
} | ||
|
||
.DocSearch-Input { | ||
margin-left: 0px; | ||
margin-right: 14px; | ||
font-size: 16px; | ||
padding: 12px; | ||
} | ||
|
||
.modal .search-item { | ||
border-radius: 4px; | ||
display: flex; | ||
padding-bottom: 4px; | ||
position: relative; | ||
|
||
align-items: center; | ||
display: flex; | ||
flex-direction: row; | ||
height: 56px; | ||
padding: 0 16px 0 16px; | ||
} | ||
|
||
.modal .search-item-icon { | ||
display: none; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import DefaultTheme from "vitepress/theme"; | ||
import "./custom.css"; | ||
|
||
export default DefaultTheme; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Get started |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Hello Twake |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SearchPlugin } from "vitepress-plugin-search"; | ||
import { defineConfig } from "vite"; | ||
|
||
export default defineConfig({ | ||
plugins: [SearchPlugin()], | ||
}); |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "Documentation", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"scripts": { | ||
"docs:dev": "vitepress dev docs", | ||
"docs:build": "vitepress build docs", | ||
"docs:serve": "vitepress serve docs" | ||
}, | ||
"devDependencies": { | ||
"flexsearch": "^0.7.31", | ||
"markdown-it": "^13.0.1", | ||
"vitepress": "1.0.0-alpha.13", | ||
"vitepress-plugin-search": "^1.0.4-alpha.15", | ||
"vue": "^3.2.45" | ||
} | ||
} |
Oops, something went wrong.