Commit graph

2746 commits

Author SHA1 Message Date
Abhinav 061320914b remove unneccesary changes 2021-12-03 20:18:40 +05:30
Abhinav f9c91cd1e2 dont need HtmlWebpackPlugin and force enable SubresourceIntegrityPlugin 2021-12-03 19:33:33 +05:30
Abhinav 82a15ef66d run only for non server webpack 2021-12-03 19:01:53 +05:30
Abhinav 28dd87b35b add html webpack plugin 2021-12-03 18:21:18 +05:30
Abhinav e2e47d717d add sub-resource integrity 2021-12-03 17:50:04 +05:30
Abhinav 5df92125f5 add unsafe eval to allow heif.js new Function() call 2021-12-03 17:23:16 +05:30
Abhinav 949dd07821 activate content scurity policy 2021-12-03 14:41:03 +05:30
Abhinav 5931bf87d0 add data: protocol for connect-src and remove require trusted for script 2021-12-03 14:40:12 +05:30
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
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
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
abhinavkgrd 5e3551e8c3
Merge pull request #246 from ente-io/stripe-redirect
Stripe redirect fix
2021-11-24 14:05:36 +05:30
abhinavkgrd d1e98d17a5
Merge pull request #247 from ente-io/fix-multi-folder-detection
Fix multi folder detection
2021-11-24 13:51:43 +05:30
Abhinav ca86255bd3 use app context instead of locl storage key 2021-11-23 17:55:04 +05:30