Commit Graph

45 Commits

Author SHA1 Message Date
Vince Grassia 8fe8c42765
Pin versions of actions in workflow (#1405) 2021-05-17 15:15:08 -04:00
Matt Gibson 8d5614cd7b
Port send jslib to mobile (#1219)
* Expand Hkdf crypto functions

* Add tests for hkdf crypto functions

Took the testing infrastructure from bitwarden/server

* Move Hkdf to cryptoFunctionService

* Port changes from bitwarden/jslib#192

* Port changes from bitwarden/jslib#205

* Make Send Expiration Optional implement changes from bitwarden/jslib#242

* Bug fixes found by testing

* Test helpers

* Test conversion between model types

* Test SendService

These are mostly happy-path tests to ensure a reasonably correct
implementation

* Add run tests step to GitHub Actions

* Test send decryption

* Test Request generation from Send

* Constructor dependencies on separate lines

* Remove unused testing infrastructure

* Rename to match class name

* Move fat arrows to previous lines

* Handle exceptions in App layer

* PR review cleanups

* Throw when attempting to save an unkown Send Type

I think it's best to only throw on unknown send types here.
I don't think we want to throw whenever we encounter one since that would
do bad things like lock up Sync if clients get out of date relative to
servers. Instead, keep the client from ruining saved data by complaining
last minute that it doesn't know what it's doing.
2021-01-25 14:27:38 -06:00
Kyle Spearrin 2bfabfd838 Revert "fdroid.. just do it..."
This reverts commit 9876cd547f.
2021-01-22 14:23:07 -05:00
Kyle Spearrin 9876cd547f fdroid.. just do it... 2021-01-22 14:17:20 -05:00
Matt Portune 75b6e69d34
testing removal of setup-nuget (#1137) 2020-11-03 13:46:13 -05:00
Matt Portune 532b5f7c33
change msbuild reference to v1 (#1136) 2020-11-03 13:23:31 -05:00
Kyle Spearrin cfe84963fa switch to access token, bump version 2020-07-06 13:54:44 -04:00
Kyle Spearrin d908a599b1 bump version and build fixes 2020-07-06 13:28:19 -04:00
Kyle Spearrin 9b3ddb8da3 bump version via hub release command 2020-07-06 11:56:00 -04:00
Kyle Spearrin 67cd17c604 do actions on master push or release event 2020-07-06 11:26:51 -04:00
Kyle Spearrin 3583836d3e Upload release assets for ios too 2020-07-06 09:55:16 -04:00
Kyle Spearrin 278815119f update workflow for release tasks 2020-07-06 09:50:26 -04:00
Matt Portune 2834e25151
Fix for non-master branch iOS builds (#984)
* Enable extra workflow steps to allow iOS builds to succeed from non-master branch

* re-enable provisioning profile setup
2020-06-16 09:55:08 -04:00
Kyle Spearrin 62afc023c8 print github ref 2020-06-11 16:26:10 -04:00
Kyle Spearrin 1066598150 fix ipa path 2020-06-10 13:30:08 -04:00
Kyle Spearrin 663be2402d list file system 2020-06-10 12:43:52 -04:00
Kyle Spearrin 016dfdb455 dont archive for app store if not master 2020-06-10 11:33:43 -04:00
Kyle Spearrin 097415385e deploy to app store 2020-06-10 11:32:16 -04:00
Kyle Spearrin 8e6c6e04a3 cleanup export, ipa artifact 2020-06-10 10:53:57 -04:00
Kyle Spearrin 81a30e580e export ipa for app store 2020-06-10 10:02:15 -04:00
Kyle Spearrin 39e0e77824 archive on build 2020-06-10 09:03:12 -04:00
Kyle Spearrin 363f5be8ff increment version for ios 2020-06-09 21:23:10 -04:00
Kyle Spearrin dc374c7ce9 try unlocking keychain 2020-06-09 17:32:53 -04:00
Kyle Spearrin 8f1db25c5c move cloc to its own job 2020-06-09 13:18:22 -04:00
Kyle Spearrin 9aed6d350b setup provisioning profiles 2020-06-09 12:25:09 -04:00
Kyle Spearrin 707a6ecbaa setup ios keychain 2020-06-09 11:37:40 -04:00
Kyle Spearrin 0dba992dd4 fix build for app store script path 2020-06-09 10:51:35 -04:00
Kyle Spearrin b6f61cac9b build play store publisher 2020-06-09 10:47:20 -04:00
Kyle Spearrin 0e41945a8a build ios 2020-06-09 10:47:09 -04:00
Kyle Spearrin a05e037308 deploy to play store 2020-06-09 10:21:46 -04:00
Kyle Spearrin f40576c39d print lines of code from CLOC 2020-06-09 10:17:26 -04:00
Kyle Spearrin 9fc810182a print dotnet info 2020-06-09 09:58:28 -04:00
Kyle Spearrin fa6d2a3080 break steps out a bit more 2020-06-08 16:04:04 -04:00
Kyle Spearrin e9efcf1b92 rework build scripts 2020-06-08 13:19:44 -04:00
Kyle Spearrin 80c8097a71 fix paths to ps scripts 2020-06-08 12:55:02 -04:00
Kyle Spearrin ba3d577125 try `shell: pwsh` 2020-06-08 12:29:57 -04:00
Kyle Spearrin 8ce4ebb16e powershell Invoke-Expression 2020-06-08 12:25:39 -04:00
Kyle Spearrin 4358ff2338 run powershell commands 2020-06-08 12:21:43 -04:00
Kyle Spearrin 53f9eb083d branches ignore and only on master 2020-06-08 12:17:53 -04:00
Kyle Spearrin 0a3a982cb9 github action android build steps 2020-06-08 12:14:22 -04:00
Kyle Spearrin fd1941cc3e target iPhone 2020-06-05 15:31:30 -04:00
Kyle Spearrin e7d00cfe54 set iphone and sim platforms for ios core 2020-06-05 15:23:15 -04:00
Kyle Spearrin 63453fa962 fix syntax 2020-06-05 14:40:44 -04:00
Kyle Spearrin 689eb7f87b CI updates 2020-06-05 14:39:29 -04:00
Kyle Spearrin 67a4646a50 try out github actions 2020-06-05 13:51:57 -04:00