Comments (6)
Please provide more details or examples
from slack-export-viewer.
I'm having the same problem. I'll see things like "@derek uploaded a file:" but there will be nothing after the colon. No image, no link to an image, just nothing.
from slack-export-viewer.
Actually there is, but it is non-valid HTML:
<div class="message">
<div class="username">redacted</div>
<div class="time">2017-05-04 12:00:00</div>
<div class="msg">@redacted uploaded a file: <https: domain.slack.com="" files="" redacted="" ccnjlkjkio="" somejsonfile.json|some="" some.file.json=""></https:></div>
</div>
Corresponding JSON:
[
{
"type": "message",
"user": "redactedUID",
"text": "<@redactedUID|redacted> uploaded a file: <https:\/\/domain.slack.com\/files\/redacted\/redactedUID\/filename.json|Very Important.Postman_collection.json>",
"ts": "1493898005.425392",
"pinned_to": null,
"subtype": "file_share",
"username": "redacted",
"file": {
"id": "redactedUID",
"created": 1493898000,
"timestamp": 1493898000,
"name": "Very Important.postman_collection.json",
"title": "Very Important.postman_collection.json",
"mimetype": "text\/plain",
"filetype": "javascript",
"pretty_type": "JavaScript\/JSON",
"user": "redactedUID",
"mode": "snippet",
"editable": true,
"is_external": false,
"external_type": "",
"size": 2856,
"url": "",
"url_download": "",
"url_private": "redacted",
"url_private_download": "redacted",
"thumb_64": "",
"thumb_80": "",
"thumb_360": "",
"thumb_360_gif": "",
"thumb_360_w": 0,
"thumb_360_h": 0,
"permalink": "redacted",
"edit_link": "redacted",
"preview": "{\n\t\"variables\": [],\n\t\"info\": {\n\t\t\"name\": \"Very Important\",\n\t\t\"_postman_id\": \"cdf1861b33c01e\",",
"preview_highlight": "redacted",
"lines": 83,
"lines_more": 78,
"is_public": false,
"public_url_shared": false,
"channels": [],
"groups": [],
"initial_comment": {},
"num_stars": 0,
"is_starred": false
},
"upload": true
}
]
from slack-export-viewer.
The changes in benwarfield-usds#1 are intended to address at least some of these issues, and make it easier to address others—no formal PR to this repo yet because it's dependent on #76 and would be confusing to look at without that being merged.
from slack-export-viewer.
Has any progress been made on this? I have "fixed" the issue on my fork, but my code is pretty dirty (it relies on overriding the CSS within the img tag).
from slack-export-viewer.
@benwarfield-usds I'm assuming you gave up on your attempt on this?
I actually don't have a good repro of this because in the archive I'm testing with (one of my own teams), I don't have any previews that say "x uploaded a file:", for me the images do just work. So I probably don't have the same kind of content somehow that you guys have.
from slack-export-viewer.
Related Issues (20)
- New release HOT 1
- Offline/local retrieval of data? HOT 1
- Error 500 / KeyError: 'ts' HOT 8
- Integration with slack-exporter?
- Access to local Host Denied HOT 3
- Not able to view the exported dump HOT 6
- slack-export-viewer fails at flask\__init__.py", line 60, in __getattr__ raise AttributeError(name) HOT 9
- Static HTML export fails with AttributeError: 'str' object has no attribute 'mkdir' HOT 5
- Nothing but a Blank Page
- UnicodeEncodeError: 'charmap' codec can't encode character '\u202f' in position 54: character maps to <undefined> encoding with 'cp437' codec failed HOT 4
- Resize sidebar
- slackdump exports aren't viewable using slack-export-viewer HOT 1
- [Feature Request] Allow updating the base URL for reverse proxies
- xxx.zip is not a zipfile
- Feature request: ignore join/leave messages
- Feature request: hide usernames
- CSS is missing when running without external sources
- Viewer will not open
- Bug encoding of urls
- Access to localhost was deniedYou don't have authorization to view this page. HTTP ERROR 403 HOT 7
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 slack-export-viewer.