mattermost/api4
George Goldberg 50fc6e1e9e PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)
* Prepare file upload infrastructure for Data Retention.

This commit prepares the file upload infrastructure for the data
retention feature that is under construction. Changes are:

* Move file management code to utils to allow access to it from jobs.

* From now on, store all file uploads in a top level folder which is the
  date of the day on which they were uploaded.

This commit is based on Harrison Healey's branch, but updated to work
with the latest master.

* Use NewAppError
2017-08-25 10:38:13 -04:00
..
api.go PLT-1649: add response_url support for custom slash commands (#6739) 2017-08-16 08:17:57 -04:00
apitestlib.go PLT-6226 Fixing races with licensing (#7213) 2017-08-16 09:51:45 -07:00
brand.go PLT-6657 Move system console to use v4 endpoints and redux (#6572) 2017-06-14 08:56:56 -04:00
brand_test.go PLT-6657 Move system console to use v4 endpoints and redux (#6572) 2017-06-14 08:56:56 -04:00
channel.go PLT-7206: Remove the "Delete Channel" option for private channels if you're the last channel member and policy setting restricts channel deletion (#7050) 2017-08-09 09:34:09 -04:00
channel_test.go PLT-6226 Fixing races with licensing (#7213) 2017-08-16 09:51:45 -07:00
cluster.go PLT-5860 Updated copyright date (#6058) 2017-04-12 08:27:57 -04:00
cluster_test.go PLT-5860 Updated copyright date (#6058) 2017-04-12 08:27:57 -04:00
command.go fix dm custom slash command regression (#7008) 2017-07-25 11:36:14 -07:00
command_help_test.go Add /help slash command (#6650) 2017-06-29 10:38:56 -04:00
command_test.go PLT-6358: Server HTTP client improvements (#6980) 2017-08-09 13:49:07 -07:00
compliance.go PLT-6657 Move system console to use v4 endpoints and redux (#6572) 2017-06-14 08:56:56 -04:00
context.go PLT-6226 Fixing races with licensing (#7213) 2017-08-16 09:51:45 -07:00
context_test.go Adding functionality to get & delete incoming webhooks (#5648) 2017-03-11 19:40:56 -03:00
elasticsearch.go PLT-6595: API to purge Elasticsearch indexes. (#6971) 2017-07-19 09:43:05 +01:00
elasticsearch_test.go PLT-6595: API to purge Elasticsearch indexes. (#6971) 2017-07-19 09:43:05 +01:00
emoji.go Add paging to the GET /emojis endpoint (#6802) 2017-07-03 23:58:02 -07:00
emoji_test.go Add paging to the GET /emojis endpoint (#6802) 2017-07-03 23:58:02 -07:00
file.go PLT-???? Prepare file upload infrastructure for Data Retention. (#7266) 2017-08-25 10:38:13 -04:00
file_test.go PLT-???? Prepare file upload infrastructure for Data Retention. (#7266) 2017-08-25 10:38:13 -04:00
job.go PLT-6595-Server: Job Management APIs. (#6931) 2017-07-20 08:25:35 -07:00
job_test.go PLT-7302: Aggregate Elasticsearch indexes over a certain age. (#7224) 2017-08-17 10:05:17 -04:00
ldap.go PLT-5860 Updated copyright date (#6058) 2017-04-12 08:27:57 -04:00
ldap_test.go PLT-5860 Updated copyright date (#6058) 2017-04-12 08:27:57 -04:00
oauth.go If login is using mobile respond with JSON object (#7030) 2017-08-03 02:39:14 +08:00
oauth_test.go Implement v4 endpoints for OAuth (#6040) 2017-04-20 09:55:02 -04:00
openGraph.go implement open graph metadata for apiV4 (#6343) 2017-05-10 11:44:18 +01:00
openGraph_test.go PLT-6358: Server HTTP client improvements (#6980) 2017-08-09 13:49:07 -07:00
params.go PLT-6763 Implement user access tokens and new roles (server-side) (#6972) 2017-07-31 12:59:32 -04:00
post.go PLT-6763 Implement user access tokens and new roles (server-side) (#6972) 2017-07-31 12:59:32 -04:00
post_test.go PLT-6226 Fixing races with licensing (#7213) 2017-08-16 09:51:45 -07:00
preference.go PLT-1384 Added websocket event when preferences are updated/deleted (#6107) 2017-04-20 13:57:31 +01:00
preference_test.go PLT-1384 Added websocket event when preferences are updated/deleted (#6107) 2017-04-20 13:57:31 +01:00
reaction.go APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name (#6117) 2017-04-22 08:52:03 -04:00
reaction_test.go fix reaction's name validation with + sign in it (#6221) 2017-04-26 10:11:32 -04:00
saml.go PLT-5860 Updated copyright date (#6058) 2017-04-12 08:27:57 -04:00
saml_test.go PLT-5860 Updated copyright date (#6058) 2017-04-12 08:27:57 -04:00
status.go PLT-5860 Updated copyright date (#6058) 2017-04-12 08:27:57 -04:00
status_test.go [APIV4] Implement PUT /users/{user_id}/status for apiV4 (#5928) 2017-04-03 17:40:45 +01:00
system.go PLT-6226 Fixing races with licensing (#7213) 2017-08-16 09:51:45 -07:00
system_test.go Setting per-paging for logs to load 10K initially like the old apis (#6697) 2017-06-20 13:13:02 -07:00
team.go Minor updates to team 2017-08-08 16:20:07 -04:00
team_test.go [PLT-7390] Add Type = 'O' in getting open teams at sql store (#7207) 2017-08-24 00:19:15 +08:00
user.go PLT-6226 Fixing races with licensing (#7213) 2017-08-16 09:51:45 -07:00
user_test.go PLT-6226 Fixing races with licensing (#7213) 2017-08-16 09:51:45 -07:00
webhook.go Switch hook debug msg to info (#7272) 2017-08-22 15:57:02 -07:00
webhook_test.go webhook merge fix (#7250) 2017-08-17 15:07:47 -07:00
webrtc.go Implement GET /webrtc/token endpoint for APIv4 (#6046) 2017-04-16 21:14:31 -04:00
webrtc_test.go Adding short unit tests by default (#6494) 2017-05-25 11:01:53 -04:00
websocket.go PLT-5860 Updated copyright date (#6058) 2017-04-12 08:27:57 -04:00
websocket_test.go add stop server to API 4 tests (#6638) 2017-06-14 14:29:05 -07:00