Commit graph

2929 commits

Author SHA1 Message Date
Abhinav 5854a94c13 added testing headers 2021-12-02 17:08:05 +05:30
Abhinav 8ce1ae707a add back next-secure-header for local use 2021-12-02 16:13:13 +05:30
Abhinav 59b3745dbd add unsafe inline to style-src
no good solution to implement nonce and hash exists current

https://github.com/styled-components/styled-components/issues/2363

https://github.com/vercel/next.js/issues/18557#issuecomment-768205738
2021-12-02 15:28:17 +05:30
Abhinav 7969d20a76 test 2021-12-02 14:54:07 +05:30
Abhinav e7bed748c4 fix report-uri 2021-12-02 14:49:11 +05:30
Abhinav e5b9ad70e8 remove script hash 2021-12-02 14:47:25 +05:30
Abhinav a8ad8b22ff add missing report to and reporturi to 2021-12-02 14:47:00 +05:30
Abhinav 4b032058d7 move all directive except script-src to header 2021-12-02 14:33:36 +05:30
Abhinav 14094d1ad0 added unsafe inline as fallback to hash for script-src 2021-12-02 13:25:18 +05:30
Abhinav 25ef3a8a44 make content security active 2021-12-02 13:12:07 +05:30
Abhinav d88e64b2c4 add mode block to xss protection 2021-12-02 13:02:38 +05:30
Abhinav d51335b630 better formatted csp 2021-12-02 12:57:44 +05:30
Abhinav e02347486f remove headers as its not passed to exported app 2021-12-02 12:57:07 +05:30
Abhinav 87f3f7aa67 add Referrer-Policy header 2021-12-02 12:29:00 +05:30
Abhinav 366a283f65 move csp to meta tag in document to add inline script hash 2021-12-02 12:03:25 +05:30
Abhinav 4580470812 changed object src to none 2021-12-02 10:12:47 +05:30
Abhinav d297b82887 fix csp self value , by adding quotes 2021-12-01 20:15:11 +05:30
Abhinav bfd869503d update csp to report only and add report URI 2021-12-01 18:37:10 +05:30
Abhinav 45911ebd30 test 2021-12-01 18:36:45 +05:30
Abhinav ec699c148f added clouflare headers config file 2021-12-01 12:39:35 +05:30
Abhinav ce22b0f517 adds next-secure-headers 2021-12-01 00:28:05 +05:30
Abhinav e9e777f5eb better function name 2021-11-30 22:51:47 +05:30
Abhinav 9dfcbacaea adds comments 2021-11-30 12:23:11 +05:30
Abhinav c84ee17a7c move version check logic to migrateExport function 2021-11-30 12:18:02 +05:30
Abhinav 13cb4338ff update sanitize name function 2021-11-30 11:57:50 +05:30
abhinavkgrd aa49c8a775
Merge pull request #257 from ente-io/error-handling
fix getUnixTime failure Error handling
2021-11-30 11:45:34 +05:30
Abhinav a0708ac3f8 log dateTime value on getUNIXTime fail 2021-11-30 11:15:36 +05:30
Abhinav 0e57c8830b fail safe error handling 2021-11-30 11:14:33 +05:30
Abhinav cff0959cf3 Merge branch 'master' into export-v2 2021-11-29 14:56:22 +05:30
Abhinav c443bae39a add null check before trying to update exif with edited value 2021-11-29 14:39:11 +05:30
Vishnu Mohandas 24fcbb3723
Merge pull request #255 from ente-io/download-manager-imporvements
Download manager improvements
2021-11-29 14:17:42 +05:30
Abhinav 9454540175 update name to getCachedOriginalFile 2021-11-29 14:14:28 +05:30
abhinavkgrd 09ae218772
Merge pull request #254 from ente-io/download-selected
Download selected
2021-11-29 14:12:57 +05:30
Abhinav 3a0e6b2f98 renamed get preview to getThumbnail 2021-11-29 14:12:24 +05:30
Abhinav a1672d3c2f handle saving to cache in getPreview itself 2021-11-29 14:11:41 +05:30
Abhinav 1f3734b577 fix isFileHEIC check 2021-11-29 12:09:21 +05:30
Abhinav 9e3c294775 check in memory cache for thumbnail before hitting browser cache 2021-11-29 12:08:53 +05:30
Abhinav f997c7457a use converted suffix instead of forPreview to to avoid duplicate download of unconverted files 2021-11-29 11:18:28 +05:30
Abhinav f688d620cc prevent duplicate file download calls 2021-11-29 10:42:46 +05:30
Abhinav 4b93b9e9a4 only show progress bar if sync not in progress 2021-11-27 16:47:54 +05:30
Abhinav 6ba24037e1 add download logic 2021-11-27 15:40:15 +05:30
Abhinav 97b9ac0626 add download all button 2021-11-27 13:23:05 +05:30
Abhinav fe6d0c4125 merge master into export-v2 2021-11-26 12:06:58 +05:30
Abhinav 33bd80f571 fix metadata json map setting 2021-11-26 12:04:46 +05:30
Vishnu Mohandas 935f480b04
Merge pull request #250 from ente-io/photoswipe-error-handling
fixes photoswipe issues
2021-11-25 23:07:14 +05:30
Abhinav 3d713f733b update photoswipe 2021-11-25 19:47:47 +05:30
Abhinav 80e26b10b7 fix width and height missing from photoswipe items 2021-11-25 17:25:56 +05:30
abhinavkgrd 4c30c45724
Merge pull request #249 from ente-io/ffmpeg-load-fail-handling
ffmpeg load fail handling
2021-11-25 12:11:53 +05:30
abhinavkgrd 863b814d88
Merge pull request #237 from ente-io/fix-file-type-not-logged
missed a place where type info was not logged
2021-11-25 11:55:19 +05:30
Abhinav 7f8d2b84c8 clear failed ffmpeg instance..so new load is trigerred 2021-11-25 11:28:16 +05:30