Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

File attachments for Chat client and oc-handle #143

Merged
merged 19 commits into from
Oct 14, 2014
Merged

File attachments for Chat client and oc-handle #143

merged 19 commits into from
Oct 14, 2014

Conversation

LEDfan
Copy link
Contributor

@LEDfan LEDfan commented Oct 5, 2014

Implements #94
cc @jancborchardt

@LEDfan
Copy link
Contributor Author

LEDfan commented Oct 5, 2014

  • translate string which informs user about attachment
  • add an unshare button in the files overview
  • user avatar (with title) instead of displayname in files overview
  • when the file name is clicked download the file

- [ ] remove the first / from the path in the view

  • update files list for other users
  • don't us the t()function to translate text
  • load file msgs in init()
  • update removeFile command like attachFile
  • make it only for the owner of the file possible to remove/unshare a file
  • Show images inline in chat log

@LEDfan
Copy link
Contributor Author

LEDfan commented Oct 5, 2014

@jancborchardt @jbtbnl @fossxplorer @stefan-niedermann this can be tested :)
Note that it still needs to be polished.

{{ file.path }}
</td>
<td>
<img src='/index.php/core/preview.png?file={{ file.path }}&x=36&y=36&forceIcon=1' >
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PVince81 @DeepDiver1975 @icewind1991 is there a better to show a file preview? How can I show the file icon when there isn't a preview? Tnx :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The preview - like it's implemented now - won't work for users which don't own the users. i.e. all other users then the user who attached the file.

@LEDfan
Copy link
Contributor Author

LEDfan commented Oct 8, 2014

@jancborchardt please review :)

@LEDfan LEDfan merged commit 51ec9fd into master Oct 14, 2014
@LEDfan LEDfan deleted the file_attach branch October 14, 2014 06:27
@LEDfan LEDfan mentioned this pull request Oct 14, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant