zulip/zerver
Tim Abbott 568b59291b attachment: Improve rules for managing attachment ownership.
The previous logic was that anyone with a link to a file could send it
to other users, but only the owner could make a file realm-public.
This had some confusing corner cases.

The new logic is much simpler:
* Only the file's owner/uploader can include a file in a message for
  the first time.
* Anyone with access to read a file can share it with others by
  including it in messages they send.
* Once a file has been sent to a public stream, any user in the realm
  can access it.
2017-04-18 21:27:29 -07:00
..
fixtures integrations: Add test event handler to Solano. 2017-04-11 16:59:06 -07:00
lib attachment: Improve rules for managing attachment ownership. 2017-04-18 21:27:29 -07:00
management Replace timezone.now with timezone_now. 2017-04-16 12:28:56 -07:00
migrations attachment: Make path_id field unique. 2017-04-18 21:27:28 -07:00
templatetags render_markdown_path: Remove unnecessary and broken caching. 2017-04-12 20:29:04 -07:00
tests attachment: Improve rules for managing attachment ownership. 2017-04-18 21:27:29 -07:00
tornado decorator: Add support for Django internal_notify_view. 2017-04-18 09:59:07 -07:00
views backend: Add ability to search by group private message thread. 2017-04-18 15:50:27 -07:00
webhooks Replace timezone.utc with timezone_utc. 2017-04-16 12:28:56 -07:00
worker Handle unicode characters in email mirror. 2017-04-05 12:18:41 -07:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py Add notifications on new logins to Zulip. 2017-03-25 16:50:52 -07:00
context_processors.py context: Include realm name, icon, and description. 2017-04-17 22:15:51 -07:00
decorator.py decorator: Add support for Django internal_notify_view. 2017-04-18 09:59:07 -07:00
exceptions.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
filters.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
forms.py Make FindMyTeamForm strings translatable. 2017-04-18 15:13:25 -07:00
logging_handlers.py logging_handlers: Avoid super long subject lines. 2017-03-26 13:10:43 -07:00
middleware.py Add notifications on new logins to Zulip. 2017-03-25 16:50:52 -07:00
models.py attachment: Make path_id field unique. 2017-04-18 21:27:28 -07:00
signals.py Replace timezone.get_current_timezone_name with timezone_get_current_timezone_name. 2017-04-16 12:28:56 -07:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00
storage.py docs: Add discussion of VFL to front-end-build-process.md. 2017-03-04 21:14:17 -08:00