Compare commits

...

238 Commits

Author SHA1 Message Date
Dan Ballard 58f7713eae fix button theme inconsistancies across themes, normalize to android standards
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is pending Details
2024-06-07 18:55:05 -07:00
Dan Ballard 899da5fea1 linux cmake fix for arm64 compiling
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is pending Details
2024-04-21 19:34:12 -07:00
Sarah Jamie Lewis 7741b255da
Format
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is pending Details
2024-04-16 10:58:30 -07:00
Sarah Jamie Lewis 3aa0042b71
Fix scaling on Contact Row Accept/Reject / Fix Color Blending 2024-04-16 10:58:22 -07:00
Sarah Jamie Lewis 4cb59d6cbc Merge pull request 'theme loading must take place after cwtch.Start so `dev/` has time to be appended to path' (#880) from themeFixes2 into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #880
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2024-04-16 17:57:29 +00:00
Dan Ballard f8ec6099bc theme loading must take place after cwtch.Start so `dev/` has time to be appended to path
continuous-integration/drone/pr Build is pending Details
2024-04-16 17:57:21 +00:00
Sarah Jamie Lewis 6e010b27b7
Fix Light Theme List Tile Colors
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2024-04-15 11:39:23 -07:00
Dan Ballard 9f982ae167 finally remove dirty struct copy in linux my_application.cc and nsis path fix for flutter 3.19.3
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-04-05 15:46:33 -07:00
Dan Ballard db1f0ed41e android resourses for flutter 3.19.3
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is failing Details
2024-04-05 12:43:59 -07:00
Dan Ballard fab824edce new goldens and minor windows build update 2024-04-05 12:43:59 -07:00
Dan Ballard 48152acca1 android updates and minor flutter 3.19.3 fixes 2024-04-05 12:43:59 -07:00
Dan Ballard 644245d9ce update drone to flutter 3.19.3 containers 2024-04-05 12:43:59 -07:00
Dan Ballard b4b27da3e8 fixes to build with flutter 3.19.5 and macos sonoma 2024-04-05 12:43:59 -07:00
Dan Ballard 8f2b0b8563 fix splash 2024-04-05 12:43:59 -07:00
Sarah Jamie Lewis ff297ff9e9 Flutter 3.19.3 Upgrade + Theme Fixes 2024-04-05 12:43:59 -07:00
Dan Ballard 4dbfc83f16 drone: .deb depends on tor now
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is pending Details
2024-03-20 13:23:46 -07:00
Dan Ballard ddc23e35ca drone: add .deb generation support
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is failing Details
2024-03-20 10:29:15 -07:00
Sarah Jamie Lewis 50c9f66aca Merge pull request 'Formatting / Layout Tweaks' (#858) from android_foreground_fix into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #858
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-27 21:13:58 +00:00
Sarah Jamie Lewis a4421f831a Formatting / Layout Tweaks
continuous-integration/drone/pr Build is passing Details
2024-02-27 18:52:30 +00:00
Sarah Jamie Lewis 33bc7b6db8 Merge pull request 'Prevent Android from Wiping Unsaved Conversations Every Time the Foreground Reloads' (#857) from android_foreground_fix into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #857
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-27 03:49:21 +00:00
Sarah Jamie Lewis b23f8efaa1
Remove Log
continuous-integration/drone/pr Build is pending Details
2024-02-26 19:48:59 -08:00
Sarah Jamie Lewis e4c7729456
Update Version
continuous-integration/drone/pr Build is pending Details
2024-02-26 19:45:17 -08:00
Sarah Jamie Lewis b64b99b510
Add lastChecked time to all new messages
continuous-integration/drone/pr Build is passing Details
2024-02-26 19:31:09 -08:00
Sarah Jamie Lewis 058fba7e69
Sync cache for acks
continuous-integration/drone/pr Build is pending Details
Also remove defunct calls.
2024-02-26 19:24:04 -08:00
Sarah Jamie Lewis da0d63b0dc
Prevent Android from Wiping Unsaved Conversations Every Time the Foreground Reloads
continuous-integration/drone/pr Build is passing Details
2024-02-26 18:19:50 -08:00
Sarah Jamie Lewis 7cea83d141 Merge pull request 'Name vs File' (#856) from android_foreground_fix into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #856
2024-02-26 22:42:41 +00:00
Sarah Jamie Lewis 3b818e1181
Name vs File
continuous-integration/drone/pr Build is pending Details
2024-02-26 14:42:19 -08:00
Sarah Jamie Lewis 37ce0bd1d2 Merge pull request 'Pointer to Info' (#855) from android_foreground_fix into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #855
2024-02-26 22:28:10 +00:00
Sarah Jamie Lewis 26a3270585 Pointer to Info
continuous-integration/drone/pr Build is pending Details
2024-02-26 22:28:03 +00:00
Sarah Jamie Lewis 3463894dfd Merge pull request 'GOGS_ACCOUNT_TOKEN env var for upload nightlies' (#854) from android_foreground_fix into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #854
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-26 22:11:16 +00:00
Sarah Jamie Lewis a479c2aeba
GOGS_ACCOUNT_TOKEN env var for upload nightlies
continuous-integration/drone/pr Build is pending Details
2024-02-26 14:10:43 -08:00
Sarah Jamie Lewis fcd16b19c8 Merge pull request 'New Cwtch Version' (#853) from android_foreground_fix into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #853
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-26 21:52:00 +00:00
Sarah Jamie Lewis a866d9ff8a
Add Secret to Upload Nightlies Step
continuous-integration/drone/pr Build is pending Details
2024-02-26 12:22:57 -08:00
Sarah Jamie Lewis ff0bb0b548
Fix URL
continuous-integration/drone/pr Build is pending Details
2024-02-26 12:20:06 -08:00
Sarah Jamie Lewis 5ff87eb68a
New Cwtch Version
continuous-integration/drone/pr Build is passing Details
2024-02-26 11:51:07 -08:00
Sarah Jamie Lewis d22fccdd51 Merge pull request 'android_foreground_fix' (#852) from android_foreground_fix into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #852
2024-02-26 19:30:28 +00:00
Sarah Jamie Lewis 2f1e939fdd
Fix script name
continuous-integration/drone/pr Build is pending Details
2024-02-26 11:30:16 -08:00
Sarah Jamie Lewis 213ed00373 Merge pull request 'Add new upload-nightlies step' (#851) from android_foreground_fix into trunk
continuous-integration/drone/push Build is failing Details
Reviewed-on: #851
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-26 19:14:26 +00:00
Sarah Jamie Lewis ff7d1cbd05 Add new upload-nightlies step
continuous-integration/drone/pr Build is pending Details
2024-02-26 19:14:17 +00:00
Sarah Jamie Lewis 3014a85803 Move DIR to before where it is needed 2024-02-26 19:14:17 +00:00
Sarah Jamie Lewis a2f0fbdb38 Merge pull request 'Don't exit 1 in upload releases script' (#850) from android_foreground_fix into trunk
continuous-integration/drone/push Build is failing Details
Reviewed-on: #850
2024-02-26 18:07:42 +00:00
Sarah Jamie Lewis 1dbd4b7ffc
Don't exit 1 in upload releases script
continuous-integration/drone/pr Build is pending Details
2024-02-26 10:07:07 -08:00
Sarah Jamie Lewis 03ffed9b25
Checking Drone 2024-02-26 10:05:58 -08:00
Sarah Jamie Lewis dc45506f69 Merge pull request 'Actual Source Dir' (#849) from android_foreground_fix into trunk
continuous-integration/drone/push Build is failing Details
Reviewed-on: #849
2024-02-26 17:24:58 +00:00
Sarah Jamie Lewis 8a0d52ab16
Actual Source Dir
continuous-integration/drone/pr Build is pending Details
2024-02-26 09:24:43 -08:00
Sarah Jamie Lewis 7773efb8ee Merge pull request 'Fix Path in Drone' (#848) from android_foreground_fix into trunk
continuous-integration/drone/push Build is failing Details
Reviewed-on: #848
2024-02-26 16:51:09 +00:00
Sarah Jamie Lewis 8cc8af6a91
Fix Path in Drone
continuous-integration/drone/pr Build is pending Details
2024-02-26 08:50:14 -08:00
Sarah Jamie Lewis 9f03b48757 Merge pull request 'Automatically Upload Nightly Artifacts if a Release is Cut' (#844) from android_foreground_fix into trunk
continuous-integration/drone/push Build is failing Details
Reviewed-on: #844
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-24 05:09:18 +00:00
Sarah Jamie Lewis 098adc46e6
Add Check for Empty Release and Exit Early
continuous-integration/drone/pr Build is passing Details
2024-02-23 20:38:02 -08:00
Sarah Jamie Lewis f235e56fbb Merge pull request 'Fix Notifications for ConversationInfor' (#845) from android_notif_fix into android_foreground_fix
continuous-integration/drone/pr Build was killed Details
Reviewed-on: #845
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-24 04:34:58 +00:00
Sarah Jamie Lewis 11e7e58109
Fix Notifications for ConversationInfor 2024-02-23 15:05:59 -08:00
Sarah Jamie Lewis 5627f6a438
Used drone-gogs for building
continuous-integration/drone/pr Build is pending Details
2024-02-23 13:48:05 -08:00
Sarah Jamie Lewis caf85f337b
Automatically Upload Nightly Artifacts if a Release is Cut
continuous-integration/drone/pr Build is passing Details
2024-02-23 13:08:52 -08:00
Sarah Jamie Lewis eaae82ef55 Merge pull request 'Foreground Permission Reset' (#843) from android_foreground_fix into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #843
2024-02-23 19:48:17 +00:00
Sarah Jamie Lewis 0ea595692f
Foreground Permission Reset
continuous-integration/drone/pr Build is passing Details
As of Android 13 we need to request a permission to stay in the background
https://developer.android.com/develop/background-work/background-tasks/persistent/how-to/long-running
2024-02-23 11:33:59 -08:00
Sarah Jamie Lewis 5626e6ed90 Merge pull request 'load theme name for single mode themes' (#832) from fixThemes into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #832
2024-02-14 08:12:34 +00:00
Dan Ballard 273613a8b8 load theme name for single mode themes
continuous-integration/drone/pr Build was killed Details
2024-02-13 23:38:42 -08:00
Sarah Jamie Lewis ff55f70bd4
Formatting
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2024-02-13 20:29:14 -08:00
Dan Ballard 7febeeadb6
move padding for message list inside image decoration background 2024-02-13 20:28:56 -08:00
Dan Ballard a6c0e8105d
fix saving and displaying theme name 2024-02-13 20:28:56 -08:00
Sarah Jamie Lewis 3d2b960a20 Merge pull request 'Fix Lazy Loading for Themes' (#827) from theme-loading-fix into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #827
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-14 04:06:38 +00:00
Sarah Jamie Lewis f046dd923e
Dart Fix
continuous-integration/drone/pr Build is pending Details
2024-02-13 20:05:33 -08:00
Sarah Jamie Lewis 015b6ad10c
Fix Lazy Loading for Themes 2024-02-13 19:59:47 -08:00
Dan Ballard ea213080b1 fix theme loading when no colors stanza and prep last settings for translation and translations
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is pending Details
2024-02-14 03:18:45 +00:00
Sarah Jamie Lewis fecf29176b Merge pull request 'Improve Install Images #741' (#824) from 0.0.12 into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #824
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-14 03:18:16 +00:00
Sarah Jamie Lewis 4bad19926b
Shorten Blub in Installer
continuous-integration/drone/pr Build is pending Details
2024-02-13 13:06:48 -08:00
Sarah Jamie Lewis 75958faa38 Nicer Installer Txt
continuous-integration/drone/pr Build is pending Details
2024-02-13 21:00:25 +00:00
Sarah Jamie Lewis 8300acb6f9 Fixup Installer Text 2024-02-13 21:00:25 +00:00
Sarah Jamie Lewis 33f99a3b18 24 Color Title Image 2024-02-13 21:00:25 +00:00
Sarah Jamie Lewis b291188550 Try a 24bit color windows 3 2024-02-13 21:00:25 +00:00
Sarah Jamie Lewis 0342eae5ce Actual V3 2024-02-13 21:00:25 +00:00
Sarah Jamie Lewis fe085e4802 Windows 3.1 Bitmaps... 2024-02-13 21:00:25 +00:00
Sarah Jamie Lewis 38d84e0f62 Improve Install Images #741 2024-02-13 21:00:25 +00:00
Sarah Jamie Lewis 3be7066e5d Upgrade libCwtch to fix #810
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is pending Details
2024-02-13 19:08:31 +00:00
Sarah Jamie Lewis b492be0200 Merge pull request 'Fix Image Previews + Make Invitations the correct Size' (#821) from fix-images into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #821
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-13 04:00:17 +00:00
Sarah Jamie Lewis 6ba6f76ee1 Formatting and Consolidate Image Check
continuous-integration/drone/pr Build is pending Details
2024-02-12 12:03:21 -08:00
Sarah Jamie Lewis 4ea0d4261c Properly handle image experiment flags when showing sender side images 2024-02-12 12:00:36 -08:00
Sarah Jamie Lewis 88a8ac8cca Fix Height on Invitation Widgets 2024-02-12 12:00:36 -08:00
Sarah Jamie Lewis 0eb1b95811 Fix Sender Preview for Image Files 2024-02-12 12:00:36 -08:00
Dan Ballard e0546eb502 hide blodeuwedd in settings if not supported
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is pending Details
2024-02-10 09:40:35 -08:00
Sarah Jamie Lewis 68c83f2c9a Update Translations
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2024-02-09 16:24:54 -08:00
Sarah Jamie Lewis 8bc0605503 Merge pull request 'Resize/Scaling Fixes' (#818) from fixchat into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #818
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-02-10 00:11:14 +00:00
Sarah Jamie Lewis e4b2e7936f Fixup Debug Mode Overlaps
continuous-integration/drone/pr Build is pending Details
2024-02-09 15:54:19 -08:00
Sarah Jamie Lewis 8acefb8b0b Remove old code
continuous-integration/drone/pr Build is passing Details
2024-02-09 15:26:21 -08:00
Sarah Jamie Lewis ad9c974dbd Fix Quoted Message Width
continuous-integration/drone/pr Build is pending Details
2024-02-09 15:25:39 -08:00
Sarah Jamie Lewis 9efc3e3c4a Fix Width Calc
continuous-integration/drone/pr Build is pending Details
2024-02-09 13:49:00 -08:00
Sarah Jamie Lewis 5001255a8a Prep 1.14 RC
continuous-integration/drone/pr Build is pending Details
2024-02-09 13:37:13 -08:00
Sarah Jamie Lewis 4578cc51ec Upgrade Cwtch, Fix Android File Sharing, Fixup UI Scaling
continuous-integration/drone/pr Build is pending Details
2024-02-09 13:34:10 -08:00
Sarah Jamie Lewis a7041770a0 A few more profile screen scaling tweaks
continuous-integration/drone/pr Build is pending Details
2024-02-09 10:18:11 -08:00
Sarah Jamie Lewis 497a12e8b6 Use monospace for cwtch identifiers so they are fixed width
continuous-integration/drone/pr Build is pending Details
2024-02-09 10:06:36 -08:00
Sarah Jamie Lewis cd476f39c0 Make Contact Row Layout More Consistent
continuous-integration/drone/pr Build is passing Details
2024-02-09 09:56:03 -08:00
Sarah Jamie Lewis 907cc262bb Remove Comments Out Interface
continuous-integration/drone/pr Build is pending Details
2024-02-09 09:40:23 -08:00
Sarah Jamie Lewis cb079c2fd3 Fix Up File Sharing Overlay
continuous-integration/drone/pr Build is passing Details
2024-02-08 15:43:10 -08:00
Sarah Jamie Lewis 659c7fe75e Fixup Malformed Sizes + Preview Contraints 2024-02-08 14:10:43 -08:00
Sarah Jamie Lewis abd32293eb Fixup Quote Sizing 2024-02-08 14:00:17 -08:00
Sarah Jamie Lewis 30dd0982db Fix Juniper Theme 2024-02-08 13:54:36 -08:00
Sarah Jamie Lewis 52d0a6cf3f Fix Chat Resize Layout 2024-02-08 13:54:36 -08:00
Sarah Jamie Lewis 9b65048bfd Merge pull request 'de dupping theme images, saving ~ 200kb' (#817) from themeBits into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #817
2024-02-08 21:44:56 +00:00
Dan Ballard 75eeb90cbb de dupping theme images, saving ~ 200kb
continuous-integration/drone/pr Build is pending Details
2024-02-08 13:16:37 -08:00
Dan Ballard 3095e9099f marcia's theme refresh
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2024-02-07 13:12:41 -08:00
Dan Ballard 48dda98f25 more text selection and menu bg settings on other message bubbles
continuous-integration/drone/push Build was killed Details
2024-02-07 19:51:04 +00:00
Dan Ballard 8d1d9ded5e Merge pull request 'theme fixes and new fields: messageSelectionColor, portraitOnlineAwayColor, portraitOnlineBusyColor, textfieldSelectionColor, menuBackgroundColor' (#812) from themeBits into trunk
continuous-integration/drone/push Build was killed Details
Reviewed-on: #812
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2024-02-07 17:55:34 +00:00
Dan Ballard 7dc25b92c7 theme fixes and new fields: messageSelectionColor, portraitOnlineAwayColor, portraitOnlineBusyColor, textfieldSelectionColor, menuBackgroundColor
continuous-integration/drone/pr Build was killed Details
2024-02-07 09:40:14 -08:00
Dan Ballard 581c52a53f fix initializing gomobile cwtchdir
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-02-05 00:06:01 -08:00
Dan Ballard 74a9656216 formatting with -l 200
continuous-integration/drone/push Build is passing Details
2024-02-03 02:09:05 +00:00
Dan Ballard a8c957e679 add the ability to import themes and support for loading custom themes that aren't assets 2024-02-03 02:09:05 +00:00
Dan Ballard 183b88d8e0 should fix unlock button text and icon themeing
continuous-integration/drone/push Build is passing Details
2024-01-29 21:21:00 +00:00
Sarah Jamie Lewis da42a29e66 Merge pull request 'FIX #546 - Force Canadian Locale for Full Date Format' (#807) from fixdate into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #807
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-01-29 18:37:23 +00:00
Sarah Jamie Lewis 6b6c60d9e5 FIX #546 - Force Canadian Locale for Full Date Format
continuous-integration/drone/pr Build is pending Details
We want a consistent YYYY-mm-dd HH::MM format here so setting.locale
isn't desirable (e.g. en_US outputs mm-dd-YY)
2024-01-29 10:21:10 -08:00
Dan Ballard a48422cf5f add theme chatImageColor
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-01-16 19:10:54 -08:00
Dan Ballard 238cddd7d3 add themeImage setting and use 2024-01-09 21:56:47 -08:00
Dan Ballard 111bceab5d Merge pull request 'split settings panes into seperate files' (#800) from settingsPanesFiles into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #800
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2024-01-10 00:32:26 +00:00
Dan Ballard 04985ee7eb split settings panes into seperate files
continuous-integration/drone/pr Build is passing Details
2024-01-06 11:39:33 -08:00
Dan Ballard 2abbf223b2 Merge pull request 'fix wiring of loading files for yaml theme images' (#799) from assetsPath into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #799
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2024-01-05 17:51:54 +00:00
Dan Ballard 05b50638da fix wiring of loading files for yaml theme images
continuous-integration/drone/pr Build is passing Details
2024-01-05 01:13:43 -08:00
Sarah Jamie Lewis 10195b78f8 Merge pull request 'more translation updates' (#798) from i10nupdate into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #798
2024-01-04 21:56:02 +00:00
Dan Ballard 6b432aa345 more translation updates
continuous-integration/drone/pr Build is pending Details
2024-01-04 13:54:55 -08:00
Dan Ballard ee07e707d2 settings about translations
continuous-integration/drone/push Build is pending Details
2024-01-04 21:34:44 +00:00
Dan Ballard d142c10fef settings into pane 2024-01-04 21:34:44 +00:00
Sarah Jamie Lewis efb9ce94e7 Merge pull request 'Improve Logic for Handelling Interrupted Downloads' (#797) from post-stable-fixes into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #797
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-01-04 20:16:54 +00:00
Sarah Jamie Lewis e360a71d59 Add chatReactionColor to Juniper Theme
continuous-integration/drone/pr Build is pending Details
2024-01-04 12:15:50 -08:00
Sarah Jamie Lewis abd7fe7415 Improve Logic for Handelling Interrupted Downloads
continuous-integration/drone/pr Build is passing Details
Move logic into FileDownloadProgress model, simplify to
the lastUpdated cases which abstracts over the requested case.
2024-01-04 11:55:09 -08:00
Sarah Jamie Lewis cc8227d228 Hide Ev-Log When Not Devmode 2024-01-04 11:55:07 -08:00
Sarah Jamie Lewis 856ed3ef64 Upgrade Cwtch, Add Per-Profile Event Log 2024-01-04 11:54:42 -08:00
Sarah Jamie Lewis 1d70adb595 Formatting 2024-01-04 11:53:42 -08:00
Sarah Jamie Lewis d6d064b804 Fix Crash Bug in Android (ShareFile and Reconnect)
In rare situtaitons (exacerbated by debug mode and multiple
file shares in succession) ReconnectCwtchForeground events can result
in negative message counts being calculated in the UI.

This fix ensures that doesn't happen, but a complete fix will need to wait until #664
is implement in the backend
2024-01-04 11:53:03 -08:00
Dan Ballard 2012b2dc7d Merge pull request 'theme fixups for loading bg image and new chat reaction icon color' (#795) from themeImgDir into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #795
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2024-01-04 06:11:06 +00:00
Dan Ballard 68db0867d4 theme fixups for loading bg image and new chat reaction icon color
continuous-integration/drone/pr Build is pending Details
2024-01-03 22:05:08 -08:00
Sarah Jamie Lewis e32ec30a1e Fix Crash Bug in Android (ShareFile and Reconnect) + Force prettyDateString to use .toLocal() time + Formatting (#794)
continuous-integration/drone/push Build is passing Details
commit fe4726986f
Author: Sarah Jamie Lewis <sarah@openprivacy.ca>
Date:   Tue Jan 2 10:53:15 2024 -0800

    Formatting

commit d4e57f493e
Author: Sarah Jamie Lewis <sarah@openprivacy.ca>
Date:   Tue Jan 2 10:48:31 2024 -0800

    Fix Crash Bug in Android (ShareFile and Reconnect)

    In rare situtaitons (exacerbated by debug mode and multiple
    file shares in succession) ReconnectCwtchForeground events can result
    in negative message counts being calculated in the UI.

    This fix ensures that doesn't happen, but a complete fix will need to wait until #664
    is implement in the backend

commit 44925783f5
Author: Sarah Jamie Lewis <sarah@openprivacy.ca>
Date:   Tue Jan 2 09:14:49 2024 -0800

    Force prettyDateString to use .toLocal() time

    Fixes an issue where, on some platforms, contact row dates in non-streaming mode
    were displayed in UTC.

Reviewed-on: #794
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2024-01-03 22:10:07 +00:00
Dan Ballard e421642a02 turn themes into directories, add image support, add image support for chat area
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2023-12-10 15:17:57 -08:00
Dan Ballard 6aaa66ea4d del old tors on linux install 2023-12-10 10:38:54 -08:00
Sarah Jamie Lewis 7732b66cad Merge pull request 'bump pubspec version' (#781) from pubspecVer into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #781
2023-12-01 03:41:22 +00:00
Dan Ballard c3d8bb6b50 bump pubspec version
continuous-integration/drone/pr Build is passing Details
2023-11-30 19:13:37 -08:00
Dan Ballard c09f10b650 fix update scripts to tor 0.4.8.9 mac
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-11-29 12:08:06 -08:00
Dan Ballard e3f0f66445 fix update scripts to tor 0.4.8.9
continuous-integration/drone/pr Build is failing Details
2023-11-29 12:01:58 -08:00
Dan Ballard e722133cea update fetch tors to 0.4.8.9
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2023-11-25 11:11:34 -08:00
Dan Ballard d75e5f4a55 Revert "script to update tor-fetch script to latest published tor expert bundle; compress mac .dmg"
This reverts commit acf3fcb648.
2023-11-24 14:07:03 -08:00
Dan Ballard e7c7f8af8b Revert "fix windows tor fetch"
This reverts commit efb29e81b6.
2023-11-24 14:07:02 -08:00
Dan Ballard 837960b387 Revert "fix windows tor fetch"
This reverts commit 11a63eccc2.
2023-11-24 14:07:00 -08:00
Dan Ballard 54bdcbf9cd Revert "fix windows tor fetch"
This reverts commit 7628fea346.
2023-11-24 14:06:55 -08:00
Dan Ballard 7628fea346 fix windows tor fetch
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2023-11-19 18:59:25 -08:00
Dan Ballard 11a63eccc2 fix windows tor fetch
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-11-19 16:47:58 -08:00
Dan Ballard efb29e81b6 fix windows tor fetch
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is failing Details
2023-11-19 16:25:21 -08:00
Dan Ballard acf3fcb648 script to update tor-fetch script to latest published tor expert bundle; compress mac .dmg
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2023-11-19 15:02:17 -08:00
Dan Ballard 570b3670f0 actually add .DS_Store and remove from gitignore
continuous-integration/drone/pr Build was killed Details
continuous-integration/drone/push Build is passing Details
2023-11-16 09:17:32 -08:00
Dan Ballard 043218a6d8 package .DS_Store on mac dmg
continuous-integration/drone/pr Build was killed Details
2023-11-16 09:11:58 -08:00
Dan Ballard e01f46fd08 final new mac build machine fixes
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is failing Details
2023-11-16 09:00:35 -08:00
Dan Ballard cb956d61d0 testing mac build with new commit, also testing removing cocoapods from drone
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build was killed Details
2023-11-16 08:24:08 -08:00
Dan Ballard 705bffc857 Add yaml loading of themes, convert themes to yaml; also minnor boot speed fix with delayed, and removed superfulous return from gobmobile Start
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build was killed Details
2023-10-19 09:15:58 -07:00
Sarah Jamie Lewis 69b7ddb2c1 Clarify Offline Mode Behaviour
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2023-10-03 03:44:13 +00:00
Sarah Jamie Lewis 51f07cffd5 Merge pull request 'windows seems incompatible with Noto Color Emoji, try falling back to their default emoji font' (#745) from winemoji into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #745
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2023-10-03 03:44:02 +00:00
Dan Ballard f75050bcb7 windows seems incompatible with Noto Color Emoji, try falling back to their default emoji font
continuous-integration/drone/pr Build is pending Details
2023-10-02 16:25:37 -07:00
Dan Ballard 19377e033f change lastMessageTime into lastMessage[receive|sent]Time. Receive for sort, and sent for display.
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2023-09-26 16:51:18 -07:00
Sarah Jamie Lewis 297a7e8a22 Merge pull request 'Font Scaling' (#738) from stable-blockers into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #738
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-26 21:30:44 +00:00
Sarah Jamie Lewis 020291dc9a Scale Contact Select
continuous-integration/drone/pr Build is pending Details
2023-09-26 14:04:11 -07:00
Sarah Jamie Lewis f025e8ee53 Font Scaling
continuous-integration/drone/pr Build is pending Details
2023-09-26 14:02:26 -07:00
Sarah Jamie Lewis db672a24a2 Merge pull request 'stable-blockers' (#737) from stable-blockers into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #737
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-26 20:25:42 +00:00
Sarah Jamie Lewis cc0a99a47c Update Cwtch
continuous-integration/drone/pr Build is pending Details
2023-09-26 20:21:28 +00:00
Sarah Jamie Lewis 92a42bb2f8 Fix ConfigureConnections on Android, Expose PublishServerUpdate 2023-09-26 20:21:28 +00:00
Sarah Jamie Lewis f8ab1650c9 Merge pull request 'Migrate Invites to use Message Draft' (#736) from stable-blockers into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #736
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-26 20:18:30 +00:00
Sarah Jamie Lewis 2af90179e0 OPRS Copyright Year Update
continuous-integration/drone/pr Build is pending Details
2023-09-26 11:00:36 -07:00
Sarah Jamie Lewis e612003e23 Add Emoji Font, Fix rendering issue with malformed Invite.
continuous-integration/drone/pr Build is pending Details
2023-09-26 10:58:43 -07:00
Sarah Jamie Lewis efd6134a06 Pretty Print Epoch Dates to Never Regardless of Redaction Status
continuous-integration/drone/pr Build is pending Details
2023-09-26 09:45:42 -07:00
Sarah Jamie Lewis 294279f34e Migrate Invites to use Message Draft
continuous-integration/drone/pr Build is pending Details
2023-09-25 14:41:06 -07:00
Sarah Jamie Lewis 1b4d79e5be Merge pull request 'Partially Redact Contact Onions where Nicks are unavailable. Upgrade Cwtch' (#734) from stable-blockers into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #734
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-25 21:12:43 +00:00
Sarah Jamie Lewis e212585f4b Remove log line
continuous-integration/drone/pr Build is pending Details
2023-09-25 14:07:10 -07:00
Sarah Jamie Lewis 46f90f3136 Fix Creating Groups on Android
continuous-integration/drone/pr Build is pending Details
2023-09-25 14:05:44 -07:00
Sarah Jamie Lewis c89299e836 Add Uzbek Support, Clarify Offline Functionality
continuous-integration/drone/pr Build is pending Details
2023-09-25 12:33:04 -07:00
Sarah Jamie Lewis 224642e00d Partially Redact Contact Onions where Nicks are unavailable. Upgrade Cwtch
continuous-integration/drone/pr Build is pending Details
2023-09-25 12:06:09 -07:00
Sarah Jamie Lewis 526b0fffaa Merge pull request 'Fix Block/Unblock Desktop FFI' (#733) from stable-blockers into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #733
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-25 18:34:54 +00:00
Sarah Jamie Lewis 1e0980e7b4 Fix Block/Unblock Desktop FFI
continuous-integration/drone/pr Build is pending Details
2023-09-25 11:33:07 -07:00
Sarah Jamie Lewis ae9301c8d0 Merge pull request 'Streamer Mode Date Redaction / Format Fixes / A Few More Font Fixes' (#732) from stable-blockers into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #732
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-25 18:19:53 +00:00
Sarah Jamie Lewis 921f62d088 Streamer Mode Date Redaction / Format Fixes / A Few More Font Fixes
continuous-integration/drone/pr Build is running Details
2023-09-25 10:48:56 -07:00
Dan Ballard 37e6511718 Add autoloading default profiles with default password (removed from bindings)
continuous-integration/drone/pr Build is running Details
continuous-integration/drone/push Build is pending Details
2023-09-24 10:28:29 -07:00
Sarah Jamie Lewis feccc04933 Merge pull request 'New Icons, New Translations, More Complete Profile Menu' (#728) from stable-blockers into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #728
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-20 22:33:37 +00:00
Sarah Jamie Lewis deab06beda Format
continuous-integration/drone/pr Build is pending Details
2023-09-20 15:31:32 -07:00
Sarah Jamie Lewis 8ff0cfe5b1 New Icons, New Translations, More Complete Profile Menu 2023-09-20 15:31:32 -07:00
Sarah Jamie Lewis fa21a4f719 New Icons, New Translations, More Complete Profile Menu
continuous-integration/drone/pr Build is pending Details
2023-09-20 12:30:08 -07:00
Sarah Jamie Lewis 7b9dcf0a8b Merge pull request 'Upgrade Cwtch' (#727) from stable-blockers into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #727
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-20 00:19:36 +00:00
Sarah Jamie Lewis 0b7a75a243 Upgrade Cwtch
continuous-integration/drone/pr Build is pending Details
2023-09-20 00:18:15 +00:00
Sarah Jamie Lewis 877a4e4fb3 Merge pull request 'Remove Activate Peer Engine from Mode Switch (Configure Connections Does this Automatically)' (#726) from stable-blockers into trunk
continuous-integration/drone/push Build was killed Details
Reviewed-on: #726
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-19 22:34:09 +00:00
Sarah Jamie Lewis e59b81f013 Activate Offline mode when switching
continuous-integration/drone/pr Build is pending Details
2023-09-19 14:58:54 -07:00
Sarah Jamie Lewis 88a4a93326 Remove Activate Peer Engine from Mode Switch (Configure Connections Does this Automatically)
continuous-integration/drone/pr Build is passing Details
2023-09-19 14:54:41 -07:00
Sarah Jamie Lewis 545c0c091a Merge pull request 'Bump Cwtch and Version' (#725) from stable-blockers into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #725
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-19 20:31:11 +00:00
Sarah Jamie Lewis ee3925b4db Bump Cwtch and Version
continuous-integration/drone/pr Build is passing Details
2023-09-19 13:18:46 -07:00
Sarah Jamie Lewis a6c7911243 Merge pull request 'Update Goldens' (#724) from stable-blockers into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #724
2023-09-18 15:56:34 +00:00
Sarah Jamie Lewis 9a9ace5377 Update Goldens
continuous-integration/drone/pr Build is pending Details
2023-09-18 15:56:24 +00:00
Sarah Jamie Lewis a788540944 Merge pull request 'Only show appear offline if not in test mode (bug in test framework cannot scroll past)' (#723) from stable-blockers into trunk
continuous-integration/drone/push Build is failing Details
Reviewed-on: #723
2023-09-18 15:40:43 +00:00
Sarah Jamie Lewis 18bbfdea54 Only show appear offline if not in test mode (bug in test framework cannot scroll past)
continuous-integration/drone/pr Build is pending Details
2023-09-18 08:40:17 -07:00
Sarah Jamie Lewis 3856591d2f Merge pull request 'Move status options under profile image in contacts view' (#722) from stable-blockers into trunk
continuous-integration/drone/push Build is failing Details
Reviewed-on: #722
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-18 15:23:02 +00:00
Sarah Jamie Lewis 5d4f152c80 Upgrade Cwtch
continuous-integration/drone/pr Build is pending Details
2023-09-18 08:22:03 -07:00
Sarah Jamie Lewis 90ec07b7a5 Format and API Cleanup
continuous-integration/drone/pr Build is pending Details
2023-09-18 07:55:07 -07:00
Sarah Jamie Lewis 9c9fa2f88f Upgrade Flutter to 3.13.4 2023-09-18 06:54:42 -07:00
Sarah Jamie Lewis 93b6e5c8c7 Android APIS
continuous-integration/drone/pr Build is running Details
2023-09-13 18:40:04 -07:00
Sarah Jamie Lewis 919c7c35a6 Support Appear Offline
continuous-integration/drone/pr Build is pending Details
2023-09-13 18:38:08 -07:00
Sarah Jamie Lewis 16de726b47 Move status options under profile image in contacts view
continuous-integration/drone/pr Build is pending Details
Also has the impact of resolving space contention when resized very small.
2023-09-11 14:59:24 -07:00
Sarah Jamie Lewis 70a7b338b2 Merge pull request 'Initial Implementation of #522' (#721) from stable-blockers into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #721
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-11 21:53:41 +00:00
Sarah Jamie Lewis 864d862219 Fix up logs
continuous-integration/drone/pr Build is passing Details
2023-09-11 13:45:29 -07:00
Sarah Jamie Lewis 11fb137f6c Return empty platform info for desktop builds 2023-09-11 13:45:29 -07:00
Sarah Jamie Lewis 7f8150c8b7 Fix History Setting Icon 2023-09-11 13:45:29 -07:00
Sarah Jamie Lewis 0942f92fa9 In debug mode, display debug channel information in Settings (initial implementation) 2023-09-11 13:45:29 -07:00
Sarah Jamie Lewis b570a127ad Merge pull request 'More nicely handle errors in setting up dbus/network manager listeners' (#720) from stable-blockers into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #720
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-11 19:04:48 +00:00
Sarah Jamie Lewis 63976c25fd Merge pull request 'android sdk to 33' (#719) from andro33 into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #719
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2023-09-11 18:38:57 +00:00
Sarah Jamie Lewis 29bdd2af02 More nicely handle errors in setting up dbus/network manager listeners
continuous-integration/drone/pr Build is pending Details
2023-09-11 11:16:08 -07:00
Dan Ballard 2015e05cc0 android sdk to 33
continuous-integration/drone/pr Build is running Details
2023-09-11 08:20:56 -07:00
Sarah Jamie Lewis 05b1616473 Merge pull request 'Upgrade Cwtch, Minor Formatting, Fix StopFileShare' (#716) from stable-blockers into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #716
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-09-06 21:25:15 +00:00
Sarah Jamie Lewis 60b2b34abc Formatting
continuous-integration/drone/pr Build is running Details
2023-09-06 10:56:25 -07:00
Sarah Jamie Lewis a0a00b1ade More clear comment 2023-09-06 10:56:25 -07:00
Sarah Jamie Lewis c0f23fe647 Upgrade Cwtch 2023-09-06 10:56:25 -07:00
Sarah Jamie Lewis 62c7a4f4eb Fixup Test and FFI 2023-09-06 10:56:25 -07:00
Sarah Jamie Lewis 042b1287ff Merge pull request 'Whonix installation and onion-grater profile' (#715) from nyxnor/cwtch-ui:whonix into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #715
2023-09-06 17:47:45 +00:00
nyxnor 88e405fdfe Add Whonix installation script
continuous-integration/drone/pr Build is pending Details
2023-09-06 00:54:18 +00:00
nyxnor 549d8a0405 Harden Whonix onion-grater profile 2023-09-06 00:08:12 +00:00
Sarah Jamie Lewis e019f5f52d Merge pull request 'DisableProfile, SaveHistorySetting, DeleteServerInfo, Draft Whonix Config' (#710) from stable-blockers into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #710
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-08-22 23:27:47 +00:00
Sarah Jamie Lewis a36a5ea2fe Fix UI Tests.
continuous-integration/drone/pr Build is pending Details
2023-08-22 23:27:41 +00:00
Sarah Jamie Lewis 8e5074ec98 Update Cwtch 2023-08-22 23:27:41 +00:00
Sarah Jamie Lewis afb00e9295 DisableProfile, SaveHistorySetting, DeleteServerInfo, Draft Whonix Config
Fixes #593
Fixes #690
Fixes #629
2023-08-22 23:27:41 +00:00
Dan Ballard e249492641 Merge pull request 'add label to scaling slider' (#705) from scalingLabel into trunk
continuous-integration/drone/push Build is running Details
Reviewed-on: #705
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2023-08-04 00:56:33 +00:00
Dan Ballard cead758f78 add label to scaling slider
continuous-integration/drone/pr Build is passing Details
2023-08-02 17:44:19 -07:00
Sarah Jamie Lewis 75b7e77bc1 Merge pull request 'Upgrade Cwtch Autobindings Version' (#704) from search into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #704
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-08-02 20:24:16 +00:00
Sarah Jamie Lewis ad215635d2 Upgrade Cwtch Autobindings Version
continuous-integration/drone/pr Build is pending Details
2023-08-02 13:19:46 -07:00
Sarah Jamie Lewis a937301d59 Merge pull request 'Update Goldens' (#703) from search into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #703
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-08-02 19:56:02 +00:00
Sarah Jamie Lewis b19724036d Update Goldens
continuous-integration/drone/pr Build is pending Details
2023-08-02 19:55:57 +00:00
Sarah Jamie Lewis 70914c7a87 Merge pull request 'Fix up a few fonts. Add more scaling options' (#702) from search into trunk
continuous-integration/drone/push Build was killed Details
Reviewed-on: #702
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-08-02 19:52:50 +00:00
Sarah Jamie Lewis 4577541e23 Update MessageText size
continuous-integration/drone/pr Build is pending Details
2023-08-02 12:50:58 -07:00
Sarah Jamie Lewis 35da8daed6 Fix font scaling for profile sharing menu
continuous-integration/drone/pr Build is pending Details
2023-08-02 12:43:32 -07:00
Sarah Jamie Lewis 45a0b8b767 Fix NPE in FileSharingView when no files have been shared
continuous-integration/drone/pr Build is pending Details
2023-08-02 12:38:48 -07:00
Sarah Jamie Lewis 3e6c3faeda Update PopupMenu Scaling and CwtchTextField Default
continuous-integration/drone/pr Build is pending Details
2023-08-02 11:25:37 -07:00
Sarah Jamie Lewis 81f2d171aa Add default dropdown style to peer/group settings pages
continuous-integration/drone/pr Build is pending Details
2023-08-02 11:14:18 -07:00
Sarah Jamie Lewis 388257bbff Fix up a few fonts. Add more scaling options
continuous-integration/drone/pr Build is pending Details
2023-08-02 10:26:30 -07:00
Sarah Jamie Lewis 1b35f8a32b Merge pull request 'Support Conversation Search, Upgrade Cwtch, Patch support for downloading new Cwtch library name formats' (#699) from search into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #699
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-08-02 17:25:07 +00:00
Sarah Jamie Lewis dee5752d38 Cleanup + Android Support
continuous-integration/drone/pr Build was killed Details
2023-08-02 09:49:36 -07:00
Sarah Jamie Lewis 6188dffbc0 Support Conversation Search, Upgrade Cwtch, Patch support for downloading new Cwtch library name formats
continuous-integration/drone/pr Build is pending Details
2023-08-02 09:45:37 -07:00
Sarah Jamie Lewis 3d9d707b83 Merge pull request 'Upgrade Cwtch' (#694) from repbuilds-additional into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #694
2023-07-13 20:19:00 +00:00
Sarah Jamie Lewis baccdee90e Upgrade Cwtch
continuous-integration/drone/pr Build is failing Details
2023-07-13 20:09:23 +00:00
Sarah Jamie Lewis e55f7af49c Merge pull request 'Make tar archives deterministic' (#693) from repbuilds-additional into trunk
continuous-integration/drone/push Build is passing Details
Reviewed-on: #693
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-07-10 20:33:56 +00:00
Sarah Jamie Lewis 632764b407 Make tar archives deterministic
continuous-integration/drone/pr Build is pending Details
2023-07-10 10:52:50 -07:00
Sarah Jamie Lewis 3148a8e064 Reduce Build Variance (Path to Reproducible Builds) (#692)
continuous-integration/drone/push Build is passing Details
Pass flags through CMake to strip generated binaries and linked libraries of os-specific or build-specific information.

Replace the default linker script with an override that suppresses the .comment section which can contain OS-specific references.

Reviewed-on: #692
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-07-07 01:44:20 +00:00
212 changed files with 7914 additions and 3601 deletions

View File

@ -8,7 +8,7 @@ clone:
steps:
- name: clone
image: openpriv/flutter-desktop:linux-fstable-3.10.2
image: openpriv/flutter-desktop:linux-fstable-3.19.3
environment:
buildbot_key_b64:
from_secret: buildbot_key_b64
@ -24,7 +24,7 @@ steps:
- git checkout $DRONE_COMMIT
- name: fetch
image: openpriv/flutter-desktop:linux-fstable-3.10.2
image: openpriv/flutter-desktop:linux-fstable-3.19.3
volumes:
- name: deps
path: /root/.pub-cache
@ -47,7 +47,7 @@ steps:
# #Todo: fix all the lint errors and add `-set_exit_status` above to enforce linting
- name: build-linux
image: openpriv/flutter-desktop:linux-fstable-3.10.2
image: openpriv/flutter-desktop:linux-fstable-3.19.3
volumes:
- name: deps
path: /root/.pub-cache
@ -55,13 +55,29 @@ steps:
- flutter build linux --dart-define BUILD_VER=`cat VERSION` --dart-define BUILD_DATE=`cat COMMIT_DATE`
- linux/package-release.sh
- mkdir -p deploy/cwtch
- mkdir -p deploy/deb/cwtch/usr
- mkdir -p deploy/deb/cwtch/DEBIAN
- export VERSION=`cat VERSION | tr -d 'v'`
- sed "s|VERSION|$VERSION|g" linux/deb/control > deploy/deb/cwtch/DEBIAN/control
- cp -r build/linux/x64/release/bundle/* deploy/cwtch
- cd deploy
- tar -czf cwtch-`cat ../VERSION`.tar.gz cwtch
- cd cwtch
- INSTALL_PREFIX=./../deb/cwtch/usr DESKTOP_PREFIX=/usr/ ./install.sh
- cd ..
# we depend on tor, get it from the tor project apt repo
- rm -r deb/cwtch/usr/lib/cwtch/Tor
# Tar archives need a few tricks to make this deterministic, see https://reproducible-builds.org/docs/archives/
- tar --sort=name --mtime=`cat COMMIT_DATE` --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime -czf cwtch-`cat ../VERSION`.tar.gz cwtch
- rm -r cwtch
- cd deb
- dpkg-deb --build cwtch
- cd ..
- mv deb/cwtch.deb cwtch-$VERSION.deb
- rm -r deb
- name: linux-ui-tests
image: openpriv/flutter-desktop:linux-fstable-3.10.2
image: openpriv/flutter-desktop:linux-fstable-3.19.3
volumes:
- name: deps
path: /root/.pub-cache
@ -70,7 +86,7 @@ steps:
- ./run-tests-headless.sh "01_general|01_tor|02_global_settings|04_profile_mgmt"
- name: test-build-android
image: openpriv/flutter-desktop:linux-fstable-3.10.2
image: openpriv/flutter-desktop:linux-fstable-3.19.3
when:
event: pull_request
volumes:
@ -80,7 +96,7 @@ steps:
- flutter build apk --debug
- name: build-android
image: openpriv/flutter-desktop:linux-fstable-3.10.2
image: openpriv/flutter-desktop:linux-fstable-3.19.3
when:
event: push
environment:
@ -104,7 +120,7 @@ steps:
#- cp build/app/outputs/flutter-apk/app-debug.apk deploy/android
- name: widget-tests
image: openpriv/flutter-desktop:linux-fstable-3.10.2
image: openpriv/flutter-desktop:linux-fstable-3.19.3
volumes:
- name: deps
path: /root/.pub-cache
@ -113,6 +129,21 @@ steps:
- flutter test --coverage
- genhtml coverage/lcov.info -o coverage/html
- name: upload-nightlies
image: openpriv/flutter-desktop:linux-fstable-3.19.3
environment:
GOGS_ACCOUNT_TOKEN:
from_secret: gogs_account_token
secrets: [gogs_account_token]
volumes:
- name: deps
path: /root/.pub-cache
when:
event: push
status: [ success ]
commands:
- ./upload-releases.sh deploy/cwtch-`cat VERSION`.apk application/vnd.android.package-archive cwtch-`cat VERSION`.apk
- name: deploy-buildfiles
image: kroniak/ssh-client
pull: if-not-exists
@ -177,7 +208,7 @@ clone:
steps:
- name: clone
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.10.2
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.19.3
environment:
buildbot_key_b64:
from_secret: buildbot_key_b64
@ -195,7 +226,7 @@ steps:
- git checkout $Env:DRONE_COMMIT
- name: fetch
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.10.2
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.19.3
commands:
- git describe --tags --abbrev=1 > VERSION
- git log -1 --format=%cd --date=format:'%Y-%m-%d-%H-%M' > COMMIT_DATE
@ -203,12 +234,12 @@ steps:
- .\fetch-libcwtch-go.ps1
- name: build-windows
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.10.2
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.19.3
commands:
- flutter pub get
- $Env:version += type .\VERSION
- $Env:commitdate += type .\COMMIT_DATE
- $Env:releasedir = "build\\windows\\runner\\Release\\"
- $Env:releasedir = "build\\windows\\x64\\runner\\Release\\"
- flutter build windows --dart-define BUILD_VER=$Env:version --dart-define BUILD_DATE=$Env:commitdate
- copy windows\libCwtch.dll $Env:releasedir
# flutter hasn't worked out it's packaging of required dll's so we have to resort to this manual nonsense
@ -235,7 +266,7 @@ steps:
commands:
- $Env:version += type .\VERSION
- $Env:commitdate += type .\COMMIT_DATE
- $Env:releasedir = "build\\windows\\runner\\Release\\"
- $Env:releasedir = "build\\windows\\x64\\runner\\Release\\"
- $Env:zip = 'cwtch-' + $Env:version + '.zip'
- $Env:zipsha = $Env:zip + '.sha512.txt'
- $Env:buildname = 'flwtch-' + $Env:commitdate + '-' + $Env:version
@ -260,7 +291,7 @@ steps:
- move *.sha512.txt deploy\$Env:builddir
- name: deploy-windows
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.10.2
image: openpriv/flutter-desktop:windows-sdk30-fstable-3.19.3
when:
event: push
status: [ success ]
@ -299,7 +330,8 @@ steps:
commands:
- mkdir ~/.ssh
- echo $buildbot_key_b64 > ~/.ssh/id_rsa.b64
- base64 -d ~/.ssh/id_rsa.b64 > ~/.ssh/id_rsa
- ls -lh ~/.ssh/id_rsa.b64
- base64 -d -i ~/.ssh/id_rsa.b64 -o ~/.ssh/id_rsa
- chmod 400 ~/.ssh/id_rsa
# force by pass of ssh host key check, less secure
- ssh-keyscan -H git.openprivacy.ca >> ~/.ssh/known_hosts
@ -318,20 +350,22 @@ steps:
- ./fetch-tor-macos.sh
- echo `git describe --tags --abbrev=1` > VERSION
- echo `git log -1 --format=%cd --date=format:%G-%m-%d-%H-%M` > COMMIT_DATE
- export PATH=$PATH:/Users/Dan/development/flutter/bin
- export PATH=$PATH:/Users/drone/development/flutter/bin
- flutter pub get
- mkdir deploy
- ./fetch-libcwtch-go-macos.sh
- gem install --user-install cocoapods
# Drone builds in container directories and gem seems to have some weird side effects so have to manually re install these locally
- gem install --user-install ffi -v 1.15.5 -- --enable-libffi-alloc
# currently unneeded to reinstall but was, and may be again? so saving
#- gem install --user-install cocoapods -v 1.11.3
- name: build-macos
commands:
- export PATH=$PATH:/Users/Dan/development/flutter/bin
- export GEM_HOME=$HOME/.gem
- export PATH=$PATH:/Users/drone/bin/flutter/bin
- export PATH=$GEM_HOME/ruby/2.6.0/bin:$PATH
- flutter config --enable-macos-desktop
- flutter doctor
- flutter build macos --dart-define BUILD_VER=`cat VERSION` --dart-define BUILD_DATE=`cat COMMIT_DATE`
- export PATH=$PATH:/usr/local/bin #create-dmg
- export PATH=$PATH:/opt/homebrew/bin/ #create-dmg
- macos/package-release.sh
- mkdir -p deploy
- mv Cwtch.dmg deploy/Cwtch-`cat VERSION`.dmg
@ -345,7 +379,7 @@ steps:
status: [ success ]
commands:
- echo $BUILDFILES_KEY > ~/id_rsab64
- base64 -d ~/id_rsab64 > ~/id_rsa
- base64 -d -i ~/id_rsab64 -o ~/id_rsa
- chmod 400 ~/id_rsa
- export DIR=flwtch-`cat COMMIT_DATE`-`cat VERSION`
- mv deploy $DIR

4
.gitignore vendored
View File

@ -3,7 +3,6 @@
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
@ -36,6 +35,7 @@ test_home
.pub-cache/
.pub/
/build/
./lib/gen/
# Web related
lib/generated_plugin_registrant.dart
@ -59,7 +59,7 @@ package.
# Compiled Libs
linux/tor
linux/libCwtch.so
android/cwtch/cwtch.aar
android/app/cwtch/cwtch.aar
android/app/src/main/jniLibs/*/libtor.so
*.dylib
integration_test/gherkin_suite_test.g.dart

View File

@ -1 +1 @@
2023-06-13-10-50-v0.0.5
2024-02-26-18-01-v0.0.14

View File

@ -1,5 +1,5 @@
MIT License
Copyright (c) 2021 Open Privacy Research Society
Copyright (c) 2021-2024 Open Privacy Research Society
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

8
NSIS-Notes.md Normal file
View File

@ -0,0 +1,8 @@
# NSIS Notes
## Images
Requires Windows 3 Compatible Bitmaps.
Can convert to the correct format with e.g. `mogrify -compress none -format bmp3 windows/nsis/cwtch_title.bmp
`

View File

@ -21,6 +21,13 @@ Cwtch processes the following environment variables:
- `LOG_FILE=` will reroute all of libcwtch-go's logging to the specified file instead of the console
- `LOG_LEVEL=debug` will set the log level to debug instead of info
## Running Tests
You can run specific tests with `./run-tests-headless.sh`. See also the `.drone.yml` file for information on the specific tests that run.1
The gherkin test framework will occasionally fail silently with incomplete test. This is usually because a previous run resulted in an exception and the underlying Tor
process was not cleaned up (See #711).
## Building
### Getting Started

View File

@ -1,3 +1,9 @@
plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) {
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")</