Commit dbcb18b
authored
Fix bad merges (#215)
* Alert on error: shared code
commit 00e6fabe1dad243eb49d5ffdd9695bda287b8b53
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Thu Jul 28 07:16:22 2022 -0400
Replace CollectionListModel with FetchRequest in CollectionListView
commit d54b9471ba9da5d22c904bbb38a555529d3c15a5
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Thu Jul 28 07:13:13 2022 -0400
Add error handling to iOS post editor
commit b48fde47147572fe78379c2bd76430f474ac4822
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Wed Jul 27 12:13:06 2022 -0400
Add error handling to macOS
commit 695da810854414620035005b83d9c366669f96ff
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Wed Jul 27 12:00:34 2022 -0400
Log fatal errors and present alert on next launch
commit 2017a5b
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sun Jul 24 06:22:29 2022 -0400
Clean up todo comment
commit 669e07e
Merge: efe173c b93e0c3
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sat Jun 25 12:08:17 2022 -0400
Merge branch 'show-downloadable-logs' into log-localstore-errors
commit b93e0c3
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sat Jun 25 12:07:38 2022 -0400
Refactor class to use protocol
commit 9b2572b
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sat Jun 25 11:17:44 2022 -0400
Refactor logging into reuseable methods
commit efe173c
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Fri Jun 24 08:40:10 2022 -0400
Update crash alert copy and navigate to help forum
commit 5a1b400
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sat Jun 18 08:53:25 2022 -0400
Log fatal crashes and present alert on next launch
commit f1b0a20
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Wed Jul 27 11:42:05 2022 -0400
Revert "Log fatal errors and present alert on next launch (#212)"
This reverts commit 7475b57.
commit 7475b57
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Wed Jul 27 09:47:06 2022 -0400
Log fatal errors and present alert on next launch (#212)
* Log fatal crashes and present alert on next launch
* Update crash alert copy and navigate to help forum
* Refactor logging into reuseable methods
* Refactor class to use protocol
* Clean up todo comment
commit a43bd80
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Tue May 31 07:35:40 2022 -0400
Add error handling to Mac app
commit a315b09
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Tue May 31 06:51:40 2022 -0400
Cleanup
commit 7863c2b
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sat May 28 09:23:16 2022 -0400
Add error handling to post editor
commit 2eba4c5
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sat May 28 07:22:27 2022 -0400
Remove commented-out code
commit 230f7a1
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sat May 28 07:17:33 2022 -0400
Delete CollectionListModel in favour of FetchRequest in CollectionListView
commit fd37a16
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Tue May 31 07:36:43 2022 -0400
Revert "Add error handling to Mac app"
This reverts commit b1a8b8b.
commit b1a8b8b
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Tue May 31 07:23:41 2022 -0400
Add error handling to Mac app
commit 15f84b0
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Thu May 26 08:08:12 2022 -0400
Handle errors in (most) shared code
Two outliers to come back to are:
- the LocalStoreManager, where we can’t set a current error in the WriteFreelyModel in methods that can’t throw
- the CollectionListModel, where the initializer can’t throw because we use it as a property initializer in CollectionListView
commit c5b611b
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Thu May 26 07:31:11 2022 -0400
Add FIXME to track silent failure on fetching collections
As collections are fetched and added to the `list` property in the CollectionListModel’s initializer, it’s tricky to throw an error here: we call it as a property initializer in CollectionListView, which cannot throw.
Consider refactoring this logic such that we’re using, for example, a @fetchrequest in CollectionListView instead.
commit b017e21
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Mon May 23 15:52:20 2022 -0400
Handle purging post errors
commit 11d2e41
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Mon May 23 15:12:33 2022 -0400
Add default values for some error strings
commit dfb3a08
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Fri May 13 08:44:13 2022 -0400
Move User Defaults errors to ErrorConstants file
commit 223ebf5
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Fri May 13 08:33:32 2022 -0400
Set current error on API call handlers
commit faa557c
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Fri May 13 08:01:11 2022 -0400
Set current error on API call failures
commit a3b805a
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Fri May 13 07:20:47 2022 -0400
Add error handling to top-level content view
commit 3a53bec
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Mon May 9 08:55:43 2022 -0400
Clean up WriteFreelyModel’s published vars
commit aefcd0d
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sun May 8 10:18:21 2022 -0400
Fix for temporary debugging
commit bf35738
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sun May 8 09:17:05 2022 -0400
Handle errors on logout
commit 01ba57a
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sun May 8 09:16:46 2022 -0400
Move Account-related error handling up the hierarchy
commit 11200a0
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sun May 1 12:06:36 2022 -0400
Initial work on presenting alert on error
* Bump writefreely-swift package minimum version
commit 91e2852
Author: Angelo Stavrow <contact@angelostavrow.com>
Date: Sat May 28 06:50:34 2022 -0400
Bump writefreely-swift package minimum version1 parent 93c0162 commit dbcb18b
5 files changed
+121
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| 26 | + | |
24 | 27 | | |
| 28 | + | |
25 | 29 | | |
26 | | - | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| 40 | + | |
36 | 41 | | |
| 42 | + | |
37 | 43 | | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
| |||
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
| 70 | + | |
63 | 71 | | |
64 | | - | |
| 72 | + | |
65 | 73 | | |
| 74 | + | |
66 | 75 | | |
67 | 76 | | |
68 | 77 | | |
| |||
83 | 92 | | |
84 | 93 | | |
85 | 94 | | |
| 95 | + | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
89 | 99 | | |
| 100 | + | |
90 | 101 | | |
91 | | - | |
| 102 | + | |
92 | 103 | | |
93 | 104 | | |
94 | 105 | | |
95 | 106 | | |
| 107 | + | |
96 | 108 | | |
| 109 | + | |
97 | 110 | | |
98 | | - | |
99 | | - | |
| 111 | + | |
| 112 | + | |
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
51 | 71 | | |
52 | 72 | | |
53 | 73 | | |
| |||
145 | 165 | | |
146 | 166 | | |
147 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
148 | 183 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
| |||
312 | 316 | | |
313 | 317 | | |
314 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
315 | 327 | | |
316 | 328 | | |
317 | 329 | | |
| |||
491 | 503 | | |
492 | 504 | | |
493 | 505 | | |
| 506 | + | |
494 | 507 | | |
495 | 508 | | |
496 | 509 | | |
| |||
879 | 892 | | |
880 | 893 | | |
881 | 894 | | |
| 895 | + | |
882 | 896 | | |
883 | 897 | | |
884 | 898 | | |
| |||
928 | 942 | | |
929 | 943 | | |
930 | 944 | | |
| 945 | + | |
931 | 946 | | |
932 | 947 | | |
933 | 948 | | |
| |||
961 | 976 | | |
962 | 977 | | |
963 | 978 | | |
| 979 | + | |
964 | 980 | | |
965 | 981 | | |
966 | 982 | | |
| |||
0 commit comments