Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update link in document #2911

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
bc9938d
[SC-58] update the Readme file
RohitGoyani Dec 26, 2023
dd3ba5d
Merge pull request #1 from MedQtech-AB/rohitgoyani/sc-58/only-office-…
RohitGoyani Dec 26, 2023
68afb50
[sc-120] Change the UI of the hyperlink setting and call the API into it
chandaniKhanesha59 Jan 16, 2024
e5a5499
[sc-120] Modify the main function of the link and also create a new f…
chandaniKhanesha59 Jan 16, 2024
5085a2f
[sc-120 ] Add the new dropDown for link action and accordingly it se…
chandaniKhanesha59 Jan 25, 2024
580ffaf
[sc-120 ] Modify the value of the link action
chandaniKhanesha59 Jan 25, 2024
a3c33d7
[sc-120 ] No need for this imports
chandaniKhanesha59 Jan 25, 2024
71a4b60
[sc-120] Make the link dynamics
chandaniKhanesha59 Jan 31, 2024
cc6c317
[sc-120] Fix the editor crash issue
chandaniKhanesha59 Jan 31, 2024
72056ec
[SC-126] update version of document editor base on live document server
RohitGoyani Feb 7, 2024
cca2e53
Merge pull request #2 from MedQtech-AB/chandanikhanesha/sc-120/create…
chandaniKhanesha59 Feb 8, 2024
2e85371
[SC-126] update the read me file, how to deploy web-app on the server
RohitGoyani Feb 9, 2024
28b544c
[SC-126] update the read me file, how to deploy web-app on the server
RohitGoyani Feb 9, 2024
7c1bb8f
Merge branch 'master' of https://github.com/MedQtech-AB/onlyoffice-we…
RohitGoyani Feb 9, 2024
0feeec1
Merge pull request #3 from MedQtech-AB/rohitgoyani/sc-126/deploy-only…
RohitGoyani Feb 9, 2024
4c5b07d
Merge pull request #4 from MedQtech-AB/development
RohitGoyani Feb 9, 2024
66b1956
update the readme
RohitGoyani Feb 22, 2024
cf09f73
[sc-372] Modify the code when we click on hyperclik option modify tha…
chandaniKhanesha59 Mar 4, 2024
f58fd23
[sc-372] Modify the changes releted the docbuilder
chandaniKhanesha59 Mar 4, 2024
699bf46
Merge pull request #5 from MedQtech-AB/chandanikhanesha/sc-372/hyperl…
RohitGoyani Mar 5, 2024
c1d2209
Merge pull request #6 from MedQtech-AB/master
RohitGoyani Mar 5, 2024
838584a
[sc-664] working on update link
chetana-devotee Apr 1, 2024
5abfbb9
[sc-664] remove line no used
chetana-devotee Apr 2, 2024
54a2c17
[sc-664] add update logic
chetana-devotee Apr 2, 2024
701b23b
[sc-664]add black array data
chetana-devotee Apr 2, 2024
60bf780
[sc-664] Handling linking from documents to layout and case-work in p…
chetana-devotee Apr 3, 2024
7373fd1
[sc-664]add minor changes
chetana-devotee Apr 4, 2024
dc583df
[sc-664]requested changes done
chetana-devotee Apr 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 89 additions & 12 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,104 @@
[![License](https://img.shields.io/badge/License-GNU%20AGPL%20V3-green.svg?style=flat)](https://www.gnu.org/licenses/agpl-3.0.en.html)

## web-apps
# web-apps

The frontend for [ONLYOFFICE Document Server][2] and [ONLYOFFICE Desktop Editors](https://github.com/ONLYOFFICE/DesktopEditors). Builds the program interface and allows the user create, edit, save and export text documents, spreadsheets, and presentations.

## Previous versions

Until 2019-10-23 the repository was called web-apps-pro.

## Project information

Official website: [https://www.onlyoffice.com/](https://www.onlyoffice.com "https://www.onlyoffice.com")

Code repository: [https://github.com/ONLYOFFICE/web-apps](https://github.com/ONLYOFFICE/web-apps "https://github.com/ONLYOFFICE/web-apps")

## User feedback and support
# Onlyoffice

R&D document: [https://docs.google.com/document/d/1AoNY1s_5eRTxvwHdlS2DcYon70tfvbj24eQNgXkc0Qs/edit#heading=h.l4dgzjogzgry](https://docs.google.com/document/d/1AoNY1s_5eRTxvwHdlS2DcYon70tfvbj24eQNgXkc0Qs/edit#heading=h.l4dgzjogzgry "https://docs.google.com/document/d/1AoNY1s_5eRTxvwHdlS2DcYon70tfvbj24eQNgXkc0Qs/edit#heading=h.l4dgzjogzgry")

## How to change the source code of the document editor?
For changing source code, need to setup development environment with using powershell (x86)
https://github.com/ONLYOFFICE/build_tools/tree/master/develop

Here we will change the web-apps repository for updating editor options.

## How to compile ONLYOFFICE Docs for a local server?
https://helpcenter.onlyoffice.com/installation/docs-community-compile.aspx

Require os is 64-bit Ubuntu 16.04

# How to compile only web-app and deploy only documenteditor changes (in use)

1. For compile web-app, require sdkjs repository. So clone the repository beside the current repository

```
cd ..
git clone https://github.com/ONLYOFFICE/sdkjs.git
```

2. Make sure the version of the document editor is match with live document server version.

- Check the current version of the document editor to follow the below link.
```
// current: <document-server-url>/web-apps/apps/documenteditor/main/app.js
// live: https://asc.docs.onlyoffice.com/web-apps/apps/documenteditor/main/app.js

* Copyright (c) Ascensio System SIA 2023. All rights reserved
*
* http://www.onlyoffice.com
*
* Version: 7.5.1 (build:23)
*/
```
- Here you get two things, Version and build number. These both things to update in here. Set Version number with same value but build number use with 1 decrease, because it will be automatically increase during build.
```
// path: /build/documenteditor.json

"version": "7.5.1",
"build": 22,
```

3. Now, ready to start build process using following commands. Run one by one

```
cd build
./sprites.sh
npm install
grunt
```
After the process, you notice that some files are changed and some new files are created. Don't commit those files to repo.

4. Once the process is completed, `deploy` folder generated on root. Now we are ready to move the documenteditor to production server
```
local path: deploy/web-apps/apps/documenteditor/

server path: /repos/OnlyOffice/deploy/web-apps/apps/documenteditor/
```
Deployment is done. Now you can change the change on live


### If it is first time, then you have to change the docker command for start document server

If you have any problems with or questions about [ONLYOFFICE Document Server][2], please visit our official forum: [forum.onlyoffice.com][1] or you can ask and answer ONLYOFFICE development questions on [Stack Overflow][3].
```
sudo docker run -i -t -d -p <PORT>:80 --restart=always \
-v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \
-v /app/onlyoffice/DocumentServer/db:/var/lib/postgresql \
-v <SERVER_PATH>/repos/OnlyOffice/deploy/web-apps/apps/documenteditor/:/var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/ \
-e JWT_SECRET=<JWT_SECRET> onlyoffice/documentserver:7.5.1
```

[1]: https://forum.onlyoffice.com
[2]: https://github.com/ONLYOFFICE/DocumentServer
[3]: http://stackoverflow.com/questions/tagged/onlyoffice

## License
#### If you have already docker, then remove it first and create new as above

web-apps is released under an GNU AGPL v3.0 license. See the LICENSE file for more information.
1. Show the list of docker containers, get the name of container for next process
```
docker ps -a
```
2. Stop the container
```
docker container stop <container_name>
```
3. Remove old container
```
docker rm <container_name>
```
Loading