Comments (4)
Hi,
renaming is currently only possible in the API. We have not yet built an UI for it. The API Endpoint to rename images is PATCH /api/v1/pentestprojects/<project-id>/images/<image-id>/
.
A big challenge for renaming images in the UI is when images are referenced in multiple findings and notes. When renaming these references should also be updated to not break PDF rendering. However, findings might currently be locked and edited by other users.
In order to provide reliable renaming and updating of all references, we first need to get rid of locking and be able to support updating parts of the text while users are currently editing. Implementing concurrent editing via websockets (see #78 ) would solve these problems and be the requirement for this change to work reliably.
from sysreptor.
What if you stored the images as a sha-256 or similar hash be the key, then have the "name" be the visible link?
You could reference by the friendly name or the hash name like in a github comment.
from sysreptor.
There would be a discrepancy between the text in the markdown editor (reference by ID) and the preview (reference by name). Using ID references removes information from the link for named images (for pasted images with name "image-*" it stays the same).
from sysreptor.
You can name images as you want by copying and pasting an image file (instead of the image itself).
The filename is then used for storage.
from sysreptor.
Related Issues (20)
- Upload Issue HOT 2
- Shifted Figure Reference Numbers HOT 3
- [Feature requested] Download as Office Word .docx format HOT 1
- Project overview - Project import date equals the export date HOT 3
- Dates show hanging numbers in Select Date pop out. HOT 1
- [Feature Request] Add German-style quotation marks („“) to the Markdown editor menu HOT 1
- Collaborative Editing in History Diff-View HOT 1
- Some Emojis break Notes HOT 2
- Websocket Issue HOT 2
- Websocket Desync/Timeout results in losing writing progress HOT 2
- Easy way to create an asset-to-finding table at end of report? HOT 7
- Files in PDFs always point to pdf.sysreptor.com HOT 3
- Simple way to create a Risk Heatmap using the list of findings? HOT 2
- Feature Request: Automatic Pentest Numbering
- Predefined finding fields not created with API HOT 1
- Warnings on run command HOT 1
- Feature Request: No output on backup command HOT 1
- Docs: Backup site should include --rm switch HOT 1
- Image button not consistently present in Markdown editor HOT 4
- Users page accessible without superuser mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sysreptor.