Commit Graph

397 Commits

Author SHA1 Message Date
Jason Rhinelander ffc56641a0
Update dependency versions 2023-01-06 13:45:58 -04:00
Jason Rhinelander 3bf3df24c6
Version bump 2023-01-06 13:33:53 -04:00
Jason Rhinelander 284746f337
Merge pull request #33 from jagerman/load-fallback
Wallet internal logging
2023-01-06 13:30:10 -04:00
Jason Rhinelander 08c8beee77
Allow -'s in node hostname
Also limit it to 253 since that is the maximum hostname length.
2023-01-06 13:18:28 -04:00
Jason Rhinelander 6e7c5be0ea
Redirect stdout/stderr to android logcat
Underlying wallet error messages were not going anywhere useful; this
redirects them into the android logger so that you can access them (e.g.
with adb logcat).
2023-01-06 13:12:50 -04:00
Jason Rhinelander 66dabf3fee
Added android build script 2022-09-07 17:19:29 -03:00
Jason Rhinelander ab281f2338 Added ios build script 2022-09-07 17:18:32 -03:00
Jason Rhinelander 404b1105b1
Flutter fixes and package updates
- FlatButton no longer exists in flutter; replace it with TextButton
  (plus associated changes needed for TextButton styling working
  differently).
- Update dependencies to latest versions
- Fix a bug with the theme changer not changing theme immediately when
  changing it in the settings page.
2022-09-07 16:15:42 -03:00
Jason Rhinelander 206b42401c
New mobile wallet 1.10.1
- Rebuild with updated oxen 10.2.0 libraries
- Update the list of public RPC nodes
2022-09-07 15:02:15 -03:00
Jason Rhinelander fb01446599
Merge pull request #26 from jagerman/public-node-updates
Default public RPC node updates
2022-09-07 14:52:28 -03:00
Jason Rhinelander 0a36d2c721
Add caliban.org public RPC 2022-07-04 11:23:33 -03:00
Jason Rhinelander a19161775c
Default public RPC node updates
- Replace public.loki.foundation with public-eu.optf.ngo (same server,
  new name).
- Replace freyr.imaginary.stream with public-na.optf.ngo (same server,
  new name).
- Remove nodes.hashvault.pro, which seems to be non-functional.
- Replace node.loki-pool.com with explorer.oxen.aussie-pools.com (same
  operator; the old name has been defunct for a while).
2022-06-16 23:34:28 -03:00
Jason Rhinelander 4c0416af1c
Update version
Switch versioning to use minor version for oxen major version (e.g.
1.10.0 is for the first oxen 10 wallet).
2022-06-13 17:11:02 -03:00
Jason Rhinelander 12fd18375e iOS package updates 2022-06-13 16:05:53 -03:00
Jason Rhinelander 70d4e26efb Fix broken blocks remaining subtitle 2022-06-13 15:44:50 -03:00
Jason Rhinelander a01f2376e4 Require full screen mode
Without this App Store rejects the app for iPads because
Apple-has-its-reasons-don't-question-them!
2022-06-13 13:52:43 -03:00
Jason Rhinelander 9178535e54 Xcode was here 2022-06-13 13:52:43 -03:00
Jason Rhinelander 98ac21ffd7
Merge pull request #25 from jagerman/oxen10
Oxen 10 updates
2022-06-13 13:45:00 -03:00
Jason Rhinelander 1534115cff
Updated de, fr translations
Many thanks to Oxen community members whoami, Loutchi, and ksniccc for
the translation help.
2022-06-11 16:47:35 -03:00
Jason Rhinelander 2965652279
Add pending rewards and revamp balance display
This changes the balance display to show three balances:

- Full
- Unlocked
- Pending Rewards (with the next payment block beneath it; will not be
  shown if pending balance is 0).

Full can optionally include the batched pending rewards (in addition to
your current owned wallet outputs).

Gone is the tap-to-switch mode that was present before; it was a bit
unintuitive, and having to tap your finger on top of the value you are
trying to view made the UX pretty bad.

This replaces the single "Balance Display" setting (which was full,
available, or hidden) with 4 new independent options:
- show full
- show available
- show pending
- include pending in full

so that you can customize it to show as little or as much as you like.
2022-06-10 23:28:27 -03:00
Jason Rhinelander dbf446d81a
Show block height in sync status 2022-06-10 23:18:25 -03:00
Jason Rhinelander 0b33ba02af
Remove debugging 2022-06-10 13:21:58 -03:00
Jason Rhinelander e1a541bb8d
Remove unused translation strings 2022-06-10 13:21:44 -03:00
Jason Rhinelander fd3efe5319
Dependency updates 2022-06-10 12:26:48 -03:00
Jason Rhinelander 14291fac7a
Merge pull request #23 from jagerman/fixes
Fixes for 1.0.9
2022-04-21 23:37:06 -03:00
Jason Rhinelander 9e0b42b2fa
Improve changelog item display 2022-04-21 19:25:02 -03:00
Jason Rhinelander 392e51f946
Fix exception on initial changelog page load 2022-04-21 19:24:35 -03:00
Jason Rhinelander 127bb8fa38
Version bump & add missing changelog entries for recent releases 2022-04-21 19:02:50 -03:00
Jason Rhinelander 5290faab76
Stakes page fixes/improvements
- Fixed broken scrolling of stakes list

- Added status indicators for good/decommissioned/awaiting/unlocking

- Added staked OXEN amount for each SN

- change highlight to red when decommissioned

- reduced size of the overall amount staked circle at the top
2022-04-21 18:46:28 -03:00
Jason Rhinelander 4e3f611597
Disable landscape rotation on iPad
Landscape doesn't render properly (e.g. the unlock widget isn't fully
visible).
2022-04-21 17:27:41 -03:00
Jason Rhinelander c8a18dd1b1
Fix error when using "ALL" for stake amount 2022-04-21 13:43:05 -03:00
Jason Rhinelander ddea75545e
Restore language configuration; default to English
The previous version removed the language configuration and just used
the system default, but some users prefer choosing the language.  This
restores the ability to choose, but keeps the system default as the
default (and, unlike before, allows "system default" as a choice).

This also changes the language default to "en" if the local language is
not found; the previous update accidentally changed it to "de" (because
"de" was the first in the list of languages, likely because it was
sorted alphabetically in the generated language code).

There is still a slight issue on the Settings page that isn't redrawn
instantly after a language change, so if you change language -> go Back
to settings, it will not have changed, but if you go back again and into
settings again everything will be updated, which seems good enough.
2022-04-21 13:13:31 -03:00
Jason Rhinelander e83192e034
Bump version 2022-04-20 19:52:31 -03:00
Jason Rhinelander 09e6b8a8b0
Make exceptions stringify as their message
We currently just use toString() on them, but several exceptions didn't
have an overridden toString() to return the exception message.  Fix
that so they all do.
2022-04-20 19:52:31 -03:00
Jason Rhinelander 96b2cce3f2
Show fees and stake amounts for transactions
- Replaces the fiat amount with the fee on the dashboard tx list.  The
  fiat amount is not historic at all, and was multiplying *current* fiat
  price by *historic* transaction amount, which was just wrong.

- Shows fee in the tx details page

- Change stake txs to show stake amount (rather than transfer amount,
  which is basically always 0) *if* we have it cached, otherwise show
  '??? OXEN' since we can't currently get it with what wallet2 gives us.

- Show stake on tx details page

- Don't show amount on tx page when tx is a stake and has amount 0
  (which will be essentially always unless someone is building txes
  manually).

- Change display of amount/stake/fee:

    - on the tx list (on the dashboard) don't display '.0' for
      non-fractional coin amounts (e.g. 12 OXEN rather than 12.0 OXEN).
      (We already truncated trailing 0s, this just extends it to the 0
      and the decimal point).

    - on the tx details page, show the full-precision balance, including
      0s.

- Add weekday to the tx details date format.

- Use abbreviate month on the tx list.
2022-04-20 19:52:31 -03:00
Jason Rhinelander 4f6dd38200
Remove unsupported openalias record
This was leftover Monero code that never worked reliably (even in
Monero, because of DNSSEC requirements) and that we've never really
supported in Oxen (and has been also removed from oxen-core).
2022-04-20 19:52:31 -03:00
Jason Rhinelander a7434ef792
French translation fix 2022-04-20 19:52:30 -03:00
Jason Rhinelander 6e73319833
Allow null recipient when loading tx description 2022-04-20 19:52:30 -03:00
Jason Rhinelander 20bd485782
Show error message properly on restoration failure 2022-04-19 13:35:29 -03:00
Jason Rhinelander fbe127ebfb
Update android sdk target
Current Play Store requires >= 30, and >= 31 in November.

31 also requires that we be explicit about android:exported (it was
implicitly true on earlier sdk targets).
2022-04-18 23:33:34 -03:00
Jason Rhinelander f405f90d80
Merge pull request #22 from jagerman/dart-modernization
Dart modernization
2022-04-18 22:33:36 -03:00
Jason Rhinelander f211cfdc77
Merge pull request #21 from RyanRory/wallet-deletion-warning
Wallet deletion warning
2022-04-18 22:30:46 -03:00
Jason Rhinelander f38738f7f8 Version bump 2022-04-18 22:18:24 -03:00
Jason Rhinelander 485a8ac0b0 ios magic incantations 2022-04-18 22:18:24 -03:00
Jason Rhinelander 8228234af6 Make seed input widget editable, disable autocomplete
It's completely unclear why this was disabled as it makes correcting a
mistake in the seed word basically impossible.

Disable autocorrect/autocomplete instead, and remove the paste button
(which was janky anyway) since we can now just paste into the input box.
2022-04-18 21:15:57 -03:00
Jason Rhinelander da81a716aa
Show the invalid words when seed phrase invalid 2022-04-18 20:13:12 -03:00
Jason Rhinelander 78aa823dc8
README build updates 2022-04-18 20:13:12 -03:00
Jason Rhinelander 78fca4ba28
Dart modernization & various updates/fixes/enhancements
- Updated entire codebase to modern "null safe" dart.

- Updated all dependencies to newer/null safe versions.

- fixed a serious bug in PIN setup that didn't properly check the two
  pins were the same (and always used the second one).

- Various translation fixes and wording updates.

- Use more appropriate locale-specific date displays

- Fixes several small memory leaks

- Stylized the "receive" QR code

- Added QR code scanning to the New Stake page (to allow scanning QR
  code pubkeys from awaiting contribution nodes on
  https://oxen.observer)

- Made the multi-option settings on the Settings page default to current
  value instead of resetting to the first value when tapped.

- Removed character restrictions from wallet, account, subaccount, and
  address book names.

- Service Nodes stakes now properly lists only the wallet's actual
  stakes for staked service node rather than everyone's stakes in the
  service node.

- Label staking transactions as "Stake" rather than "Sent"

- Don't show fiat on send page if fiat lookups not enabled
2022-04-18 20:13:12 -03:00
Ryan Zhao ba55cd3b76 add a dangerzone page for user confirmation before removing a wallet 2022-03-30 15:31:02 +11:00
Jason Rhinelander 86e677dca7
Merge pull request #10 from RyanRory/crash-fixes
Crash fixes
2021-07-13 22:02:42 -03:00