Commit graph

844 commits

Author SHA1 Message Date
Harsh Shandilya
6d909abde8
Switch to kotlin jdk8 stdlib
We're targetting Java version 1.8 so reflect that change
here too.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-03 12:51:09 +05:30
Harsh Shandilya
ffe489c293 Dependency updates (#489)
* Configure dependencyUpdates task

Configured to emit JSON reports in build directory and to
only use stable releases.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Update dependencies

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-02 19:08:57 +01:00
Harsh Shandilya
3c06063153 Rewrite Gradle configuration with Kotlin DSL (#488)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-02 18:05:51 +01:00
rk0n
0b6ba542a8 Fix clear clipboard 20 times history (#465) (#487) 2019-02-28 20:15:35 +01:00
Harsh Shandilya
88c84e4400 [ImgBot] Optimize images (#485)
*Total -- 32.98kb -> 20.64kb (37.43%)

/app/src/main/res/drawable-xxxhdpi/ic_content_copy.png -- 1.30kb -> 0.61kb (52.75%)
/app/src/main/res/drawable-nodpi/autofill_ins_2.png -- 6.69kb -> 3.97kb (40.69%)
/app/src/main/res/drawable-nodpi/autofill_ins_1.png -- 11.65kb -> 7.15kb (38.61%)
/app/src/main/res/drawable-nodpi/autofill_ins_3.png -- 10.47kb -> 6.48kb (38.18%)
/app/src/main/res/drawable-xxhdpi/ic_content_copy.png -- 0.80kb -> 0.50kb (37.76%)
/app/src/main/res/drawable-xhdpi/ic_content_copy.png -- 0.55kb -> 0.47kb (13.73%)
/app/src/main/res/drawable-xxhdpi/ic_action_secure.png -- 0.61kb -> 0.57kb (7.21%)
/app/src/main/res/drawable-hdpi/ic_content_copy.png -- 0.41kb -> 0.40kb (2.84%)
/app/src/main/res/drawable-xhdpi/ic_action_secure.png -- 0.50kb -> 0.49kb (1.37%)
2019-02-21 22:43:51 +01:00
Harsh Shandilya
86696c668c Convert PasswordEntry to Kotlin (#477)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-02-03 12:24:15 +01:00
reroman
a819343c74 Allow to create passwords without lowercase letters. (#478)
* Clipboard now is cleared after manual copy

* Spanish translation added

* Spanish translations for commit messages updated

* Now can generate passwords free of lowercase (for example only numbers, uppercase or symbols)

Also it makes sure that uppercase is included when the generated char is ambiguous and discarded
2019-02-03 12:22:12 +01:00
reroman
723a40a216 Clipboard now is cleared with manual copy (#464)
* Clipboard now is cleared after manual copy

* Spanish translation added

* Spanish translations for commit messages updated

* Validation of value 0 in general_show_time before start timer

The clear_after_copy preference is disabled according with that value.

* Like clear_after_copy, clear_clipboard_20x now depends on the value of general_show_time too
2019-01-13 23:13:11 +00:00
Harsh Shandilya
d09de8bbf5 Suppress lint warning (#475)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-13 23:11:25 +00:00
Timo Loewe
bedda61088 Use different colors for debug app icon (#472) 2019-01-12 13:56:29 +00:00
Timo Loewe
2a921aec65 Fix autofill preference referencing hard-coded application id (#473) 2019-01-12 13:54:54 +00:00
Timo Loewe
094c6da53e Enable parallel installation of release and debug builds (#471)
* Specify applicationIdSuffix for debug build type

This allows installing debug and release versions of the app
alongside each other.

* Get rid of obsolete repository declaration in app/build.gradle
2019-01-06 16:32:32 +01:00
Mohamed Zenadi
44f7af88d1
remove the flattr and bitcoin address donations 2019-01-06 15:19:34 +01:00
Harsh Shandilya
f34ce30cc7 GitOperation: Dismiss activity on cancel (#468)
Fixes the issue where starting a repository sync and then
hitting cancel in the password dialog leaves you with an empty activity
which needs to be dismissed to get back to where you were.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-03 10:54:45 +00:00
حسين
249248e168
improve translations with format strings
delete dialog format string

dialog text format
2019-01-02 19:18:18 +00:00
Harsh Shandilya
c200566bca Bump minSdk to 21 (#466)
* Bump minSdk to 21

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* PasswordGenerator: Constify things

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Deprecate PRNG fixes

The problem being fixed doesn't exist on SDK 21 and above.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* treewide: Switch to lambdas

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* treewide: Formatting fixes

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* treewide: Remove useless casts and add missing annotations

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-02 17:14:52 +00:00
حسين
d5e589d7e4
add language map 2019-01-02 15:00:51 +00:00
حسين
06a7d79260
set untranslateable strings 2019-01-02 14:30:11 +00:00
حسين
ddba198a09
use transifex for translations 2019-01-02 14:06:24 +00:00
Harsh Shandilya
b267321d54 Rewrite pwgen package in Kotlin (#463)
* Rename classes to not be ugly as all hell

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* PgpActivity: Cleanup

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Rewrite pwgen package in Kotlin

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* PRNGFixes: Remove constant conditions

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-02 15:00:33 +01:00
حسين
a82fb391d3
move strings in PasswordStore.java 2019-01-01 21:47:17 +00:00
حسين
38cebb56be
fix potential NPE when getting last changed timestamp. 2019-01-01 16:29:05 +00:00
Ricardo Román
e58a5e73d6
Spanish translation added 2019-01-01 14:40:41 +00:00
حسين
054056fa22
alert user when password is being overridden 2018-12-25 21:35:08 +00:00
حسين
9496ed31fd
opt out of google drive app backup 2018-12-25 20:46:01 +00:00
حسين
9674b706db
added changelog 2018-12-25 17:41:40 +00:00
حسين
81aff5d870
Commit messages (#455)
* use full password path in add/edit git commit message

* commit strings are format strings

* use format strings in other languages

* use move/rename commit message
2018-12-25 14:39:32 +00:00
oleg-fiksel
62954ee78f bump version (#459) 2018-12-23 16:34:29 +00:00
maximemenager
041e728137 Improve french translation (#456) 2018-12-01 11:22:52 +00:00
حسين
9c01e2f559
removed irc badge 2018-11-26 13:37:45 +00:00
Harsh Shandilya
0d55f71ff5 Additional fixes (#449)
* Convert ToCloneOrNot to Kotlin

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Cleanup and fix memory leak in SshKeyGen

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Fix manifest issues

- Indent with 4 spaces
- Fix typo'd meta-data values

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* travis: Install build tools 28.0.3

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2018-11-22 10:50:40 +00:00
حسين
e72038f6f1
extra field is multi-line 2018-10-25 12:03:58 +01:00
حسين
0382716c5e
bump version 2018-10-18 00:28:25 +01:00
حسين
85df10af04
set default sort order
resolves #437
2018-10-17 21:09:32 +01:00
حسين
88721f5905
bump version number
new versionCode format:
    1  - major version
    03 - minor version
    00 - revision
2018-10-16 13:38:31 +01:00
Harsh Shandilya
4cde7e76ad README: Fix dead links and cleanup formatting (#435)
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-10-14 10:24:55 +02:00
Harsh Shandilya
bb4c8b0688 Rewrite Travis-CI configuration (#436)
* Rewrite Travis-CI configuration

- Use OpenJDK
- Enable Travis-CI caches
- Switch to Travis' own dependency management system

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Gradle plugin 3.2.0 uses build-tools-28.0.2

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-10-14 10:24:13 +02:00
حسين
01df4371db
wrapping of long passwords
resolves #360
2018-10-12 17:01:08 +01:00
Hussein Mohammed
0b9eeb27e7
use visible password field
resolves #366.
2018-10-12 15:26:49 +01:00
Harsh Shandilya
483e8d9310 Migrate to AndroidX (#430)
* Update gradle and external dependencies

- Switch away from deprecated compile directive
- Remove explicit buildToolsVersion, is defined by the gradle plugin now
- Fix build in SelectFolderActivity

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Upgrade gradle plugin and wrapper to latest alpha

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Don't use alpha gradle plugin

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Migrate to AndroidX

https://developer.android.com/jetpack/androidx/

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Upgrade AndroidX dependencies to stable release

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Enable Jetifier

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* SelectFolderFragment: Fix build

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-10-12 15:06:04 +01:00
Harsh Shandilya
b8c5dd85a6 treewide: Cleanup relevant build warnings (#433)
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-10-12 10:09:06 +02:00
Markus Gräb
8e9c2363bb Main view: open search view on keyboard press (#432) 2018-10-11 18:41:35 +01:00
setine
2002e98c17 Cancel running DelayShow async tasks (#416) (#431)
These tasks were filling up the threadpool slots and leading
to delays in executing further AsyncTasks after a while.
2018-10-11 18:13:03 +02:00
Harsh Shandilya
8ff0039be4 Update gradle and external dependencies (#429)
* Update gradle and external dependencies

- Switch away from deprecated compile directive
- Remove explicit buildToolsVersion, is defined by the gradle plugin now
- Fix build in SelectFolderActivity

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Upgrade gradle plugin and wrapper to latest alpha

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>

* Don't use alpha gradle plugin

Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-10-11 16:39:45 +01:00
Hussein Mohammed
9c932f1a10
update README
* Moved sections of the README to the wiki page.
* Removed old video walkthrough (could re-record with most recent version of the app).
* Re-ordered sections.
* Fixed typos.
2018-09-28 13:52:27 +01:00
Joakim Lundborg
e1dfbd0c99 Clean paths (#425)
* Clean path display
This removes slashes from end of directories in the label, and the start
and end slash of the item headline.

* Item icon alignment
Change icon alignment to bottom, which makes the display look cleaner
when there is no path.
2018-09-25 19:54:06 +01:00
Joel Beckmeyer
eea0e68dda Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code (#413)
* Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code

* Add ability to show HOTP instead of showing every decrypt

* Fix off by 1 error

* fix return intent logic so that edits and HOTP increments are properly committed

* fix linting errors

* Fix broken logic for case when a password is created

* add ability to choose if password entry will be updated on HOTP code calculation
2018-09-25 18:45:54 +01:00
Daniel Rose
ac889abdd3 don't show hidden files and directories (#424) 2018-09-19 22:53:11 +02:00
Mohamed Zenadi
6ab2529811
remove maintainer msg 2018-09-13 10:41:54 +02:00
alexlab2017
270ab889b0 Clear clipboard 20 times fix (#423)
* Fix clear clipboard 20 times

As described in issue #419 there was a bug when clearing clipboard 20 times because from "0" to "< 19" there are 19 numbers, not 20. 19 is never reached because of "less than" operator. This could be also fixed by changing the operator from "=" to "<=" but I think is better to change the number of times to 20.

* Fixed clear clipboard 20 times hint

Fixed the hint to match what really happens, consecutive numbers are stored in the clipboard 20 times.
2018-09-11 10:53:55 +02:00