Dominik Johs
f2a0c4ccf1
do not dismiss views when application is resumed ( #605 )
...
* do not dismiss views when application is resumed
* prevents the PasswordNavigationViewController and PasswordDetailTableViewController from being dismissed when the app is put to the background and then brought back to the foreground
* Instead, the PasswordEntities are re-fetched from the context by their path to handle the re-creation of the entities during an update process that could have run in the background
* update SwiftLint to version 0.50.*
* update SwiftFormat to 0.51.*
---------
Co-authored-by: Mingshen Sun <bob@mssun.me>
2023-03-09 21:33:19 -08:00
Tony Wang
f6f862a6b0
refs #584 , add operation to clear QuickType suggestion in settings
2023-02-02 21:49:50 -08:00
Danny Moesch
cdedff0d4d
Use SwiftFormat version 0.49.x and enable some new rules ( #527 )
2021-12-27 17:57:11 -08:00
Danny Moesch
aad23582f9
Update SwiftLint to version 0.45.x ( #522 )
...
* Use SwiftLint version 0.45.x
* Enable SwiftLint rule 'self_in_property_initialization' and handle all violations
2021-12-27 14:58:02 -08:00
Danny Mösch
32b7c9b635
Some cleanup especially regarding method references ( #516 )
...
* Remove superfluous method arguments in method references
* Use 'Self' for internal static access
* Convert static to instance field in singleton class
* Remove class name prefix in references to local methods
* Remove nested frameworks in all extensions and frameworks
2021-10-02 20:46:07 -07:00
Danny Moesch
ad4ed9419e
Format code with SwiftFormat
2021-01-31 20:16:57 -08:00
Mingshen Sun
05a3fa8d9f
Fix UI issues under large text mode
2021-01-05 23:27:35 -08:00
Danny Moesch
49c6b25611
Use SwiftFormat version 0.47.x
2020-11-09 10:13:05 -08:00
Danny Moesch
ab80e5297e
Enable SwiftLint rule 'unneeded_parentheses_in_closure_argument' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
fe380d4d65
Enable SwiftLint rule 'private_action' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
c87f4e9792
Enable SwiftLint rule 'multiline_arguments_brackets' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
7f9f0e43b2
Format code with SwiftFormat automatically in every build
2020-08-25 15:10:13 -07:00
Mingshen Sun
3e114daca1
Implement fail-safe mechanism if key id is not found
2020-04-17 23:56:14 -07:00
Danny Moesch
3cdf77347a
Name classes consistently
...
* Settings are called *SettingsTableViewController
* Key importers are called *ImportTableViewController
* Classes in UserInterface folder are split into Controllers or Views
2020-02-12 18:20:39 -08:00
Danny Moesch
a2edf41d33
Update SwiftyUserDefaults to current version 5.0.0
2020-01-01 19:03:04 -08:00
Mingshen Sun
4bf0799c79
Use system font size all the time
2019-11-17 11:46:40 -08:00
Danny Moesch
51c9510f3d
Introduce color provider to encapsulate check for iOS 13 availability
2019-10-01 22:48:15 +02:00
Mingshen Sun
82232be92c
remove some unwraps
2019-06-09 22:18:54 -07:00
Danny Moesch
f9c19b3ca4
Migrate to Swift 5.0
2019-05-01 18:30:13 +02:00
Danny Moesch
1b4040135e
Localize strings in code
2019-01-20 21:04:04 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces
2018-12-09 16:59:07 -08:00
Yishi Lin
774f05eae0
Convert to Swift 4
...
- Will fix all warnings next.
2017-09-23 16:29:03 +08:00
Bob Sun
72424c7db2
Use split view for Settings
2017-06-22 00:09:12 -07:00
Yishi Lin
d2ba620ae4
Move codes to an embed framework
...
- Move bundle/group identifiers to passKit/Global
- Fix Core Data
- Change Defaults to SharedDefaults
2017-06-13 11:43:46 +08:00
Bob Sun
649d709369
Correct git signature logic
2017-04-27 23:57:15 -07:00
Mingshen Sun
2f790d7923
Polish AdvancedSettingsTableViewController
2017-04-27 21:57:30 -07:00
Mingshen Sun
b429a6baf1
Polish logic of setting git signature
2017-04-27 21:48:10 -07:00
Yishi Lin
30c73841c6
Allow setting git signature
2017-04-10 23:02:42 +08:00
Yishi Lin
af9d4f1c24
Polish the storyboard
...
- Set navigation titles in the storyboard, easier to find scenes now
2017-04-06 23:03:39 +08:00
Bob Sun
0507c7cdd7
Support encrypting in ASCII-armored format
2017-03-23 19:38:43 -07:00
Bob Sun
3b3904fb40
Polish redundant code
2017-03-22 22:39:53 -07:00
Bob Sun
0c241facd6
Simplify AdvancedSettingsTableViewController class
2017-03-22 17:50:32 -07:00
Yishi Lin
1f829fffcc
Polish notification
...
- define notification names
- move "post notification" to PasswordStore (todo: move "search" and the one for "show folder switch")
- "erase" and "reset" also post the "passwordStoreUpdated" notification
2017-03-18 00:30:14 +08:00
Bob Sun
0ad9713fc0
Show error in alert instead of HUD
2017-03-16 23:12:31 -07:00
Bob Sun
d2cff20131
Put PasswordStore as instance in controllers
2017-03-16 22:39:03 -07:00
Yishi Lin
db4413d6ba
Polish the "discard all local changes" feature
2017-03-11 02:18:03 +08:00
Yishi Lin
c131de0551
Fix a bug about "discard all changes"
...
- Show the number of (not pushed) commits discarded.
2017-03-07 01:43:23 +08:00
Yishi Lin
e48bc5a7a4
Allow discarding all local changes to the password store repo
...
- Settings > Advanced -> Discard All Local Changes
2017-03-04 01:15:28 +08:00
Bob Sun
9f4830dc2a
move database operations to the main thread to avoid async problems
2017-02-15 11:15:11 +08:00
Bob Sun
910660ede3
restructure file organization
2017-02-08 19:57:07 +08:00