Skip to content

Commit

Permalink
v3.0 (#27)
Browse files Browse the repository at this point in the history
* Fix dead links

* Alternate row color by stylesheet

* Add IEnumerable<TO2Object> implementations

* TPasswordScoreProvider -> TPasswordScoreCache

* Remove PasswordScoreColors from uO2Rules

* TPasswordQueryEvent -> IPasswordProvider

* Use TMask instead of MatchesMask

* Update uO2Rules.pas

* TMacroProcessor fluent API

* Move print logic to uPrint

* Rename TPrintDocument -> TPrintModel

* Remove TPrintOption(s)

* Add IStorage

* Move export to HTML logic to uHTMLExportModel

* TAppFiles fluent API

* In memory app file

* Add TMainForm.GetSelectedObjects

* Fix objects enumeration

* Move IPasswordScoreCache to uServices

* Add TAppVersionInfo

* Add IAppFiles

* TImportExport -> TFileOperation

* uPAFConsts.pas -> PAFConsts.inc

* TAppUpdate -> TAppUpdateInfo

* Update uO2Objects.pas

* Update uO2Rules.pas

* Update uO2Relations.pas

* Add uStartup

* ConvertSettings -> MigrateConfiguration

* DecodeCommandLine -> GetCommandLineParams

* Update uMain.pas

* Update uMain.pas

* Use IEnumerable<> instead of TO2ObjectList

* Update uMain.pas

* Remove TO2ObjectList

* Update uMain.pas

* Add IReplaceOperation

* Add IReplaceOperation.Valid

* Update uReplaceOperations.pas

* Update uServices.pas

* Update uUtils.pas

* Add uStorageUtils

* Update TReplaceDlg

* Add IHTMLExport

* Add IPrint

* Add IFileProps

* Add IRelationProps

* Add IRuleProps

* Rename TO2Params methods XXXValue -> ReadXXXXX

* Remove unused code

* TObjectViewColumn -> TObjectSortKind

* Add MinPasswordLength const

* Update uAppFiles.pas

* Update uUtils.pas

* Add IEncryptionProps

* Add IObjectProps

* TPasswordScoreCache optimization

* AppFiles refactoring

* TAppFileInMemory uses TBytes

* Dependency injection (...)

* Dependency injection (....)

* Dependency injection (.....)

* Dependency injection (......)

* Add IFileManager

* TFileManager (...)

* Update uObjectModels.pas

* TFileManager (....)

* TFileManager (.....)

* Update uMain.pas

* TFileManager (......)

* Update uMain.pas

* Remove AddToIEFavorites

* Remove unused GOST cipher

* Project reconfiguration

* Remove Spring4D reference

* Add TPasswordStrengthIndicator

* Add TFileManager.NewFile

* Misc

* Update README.md

* Update ReadMe.rtf

* Update acknowledgements

* Update README.md

* TPasswordStrengthIndicator undefined state

* Automatic password strength info

* Update uPasswordStrengthIndicator.pas

* Update uO2File.pas

* Rules

* Events

* Tags double list

* Fix UpdateTagList

* Update uO2Classes.pas

* Fix UpdateRuleList

* Update uMain.pas

* Remove unused code

* Move Import* methods to TO2Import

* Object relations rationalization

* Update uFileManager.pas

* Add O2TestProject

* Update uO2File.pas

* Cryptography.pas

* Add Testing.FilePropsModel.pas

* Update Testing.FilePropsModel.pas

* Update O2TestProject.dpr

* Update Testing.Cryptography.pas

* Update Testing.FilePropsModel.pas

* Add Testing.ObjectModels.pas

* Update uObjectModels.pas

* Update Testing.ObjectModels.pas

* Update Testing.ObjectModels.pas

* Update uEncryptionPropsModel.pas

* Update uObjectModels.pas

* Update Testing.ObjectModels.pas

* Add Testing.RelationModels.pas

* Update Testing.ObjectModels.pas

* Add Testing.RuleModels.pas

* Update uRuleModels.pas

* Update Testing.RuleModels.pas

* Update uRuleModels.pas

* Update Testing.RuleModels.pas

* Update Testing.RuleModels.pas

* Update Testing.RuleModels.pas

* Update Testing.RuleModels.pas

* Update Testing.RuleModels.pas

* Update Testing.RuleModels.pas

* Update AddressBook.o2

* Update PasswordWallet.o2

* Update Testing.RuleModels.pas

* Update Testing.RuleModels.pas

* Update Testing.RuleModels.pas

* Update uAbout.pas

* New tags editor

* Migrate from TWebBrowser to TEdgeBrowser (#26)

* TWebBrowser -> TEdgeBrowser

* Portable WebView2 loader DLL

* Remove uBrowserEmulation.pas

* Remove uStuffHTML.pas

* Global WebDataPath

* Add uShellUtils.pas

* Update O2.iss

* Update l10n

* Disable context menu

* Update README.md

* Fix h scrollbar flickering at startup

* Update README.md

* Version 3.0
  • Loading branch information
maurizuki authored Jun 11, 2024
1 parent 194d659 commit 47a107e
Show file tree
Hide file tree
Showing 147 changed files with 46,658 additions and 26,380 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@ modules/
# Compiled resources
src/O2/Dictionaries.res
src/O2/Icons.res

# DUnitX output
dunitx-results.xml
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ In order to start to use O2 - after installing it on your computer - see the exa
- __AddressBook.o2__ shows how to use the *rules* of type *E-mail address*, *Highlight*, *Internet link*, *Recurrence* to organize contact informations and recurrences of your relatives, friends, co-workers. The example also shows how to use the *relations* to connect husbands with wives, brothers with sisters, companies with employees.
- __PasswordWallet.o2__ shows how to use the *rule* of type *Password* to create a safe place to store the credentials of your accounts. The password to open the file is *password*.

### System requirements

To work properly, O2 needs Microsoft Edge WebView2 Runtime. If it is not already installed, download it from the official [webpage](https://developer.microsoft.com/en-us/microsoft-edge/webview2/) (the evergreen version is recommended).

### Install with Windows Package Manager

To install O2 with the Windows Package Manager - a.k.a. *winget* - use the following command:
Expand All @@ -26,6 +30,13 @@ winget install --id=maurizuki.O2 -e

## Change log

### Version 3.0
- Extensive source code rewrite in order to upgrade it to much modern coding techniques. This may or may not cause some bugs 🙂
- *Object notes* view: note text is now displayed using an Edge-based control instead of an Internet Explorer-based one.
- *Export to HTML*: export preview is now displayed using an Edge-based control instead of an Internet Explorer-based one.
- *Object properties* dialog: simplified tags management.
- *Object properties* dialog: the password strength indicator is now automatically displayed for fields that matches rules of type *Password*.

### Version 2.4
- New feature: support for [Markdown syntax](https://commonmark.org/) in notes text. Text and paragraph styles are applied to objects notes in the notes view and in the HTML export.
- *About* box: the release notes are now displayed through an internal viewer.
Expand Down Expand Up @@ -89,6 +100,9 @@ Portions Copyright (C) 2000-2023 Martijn Laan.
__JEDI Visual Component Library__
Copyright (C) 1999-2023 the Project JEDI community.

__Spring4D__
Copyright (C) 2009-2023 Spring4D Team.

__SZCRC32 unit__
Copyright (C) 2004 Sasa Zeman.

Expand Down
Binary file modified setup/AddressBook.o2
Binary file not shown.
2 changes: 2 additions & 0 deletions setup/O2.iss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#define LauncherFile "O2Portable.exe"
#define LicenseFile "License.rtf"
#define ReadmeFile "ReadMe.rtf"
#define WebView2LoaderFile "WebView2Loader.dll"

[Setup]
SourceDir=..
Expand Down Expand Up @@ -51,6 +52,7 @@ Name: languages\it; Description: Italian; Types: full

[Files]
Source: {#AppExeDir}\{#AppExeFile}; DestDir: {app}; Components: program; Flags: replacesameversion
Source: {#AppExeDir}\{#WebView2LoaderFile}; DestDir: {app}; Components: program; Flags: replacesameversion
Source: {#LauncherDir}\{#LauncherFile}; DestDir: {app}; Components: program; Flags: replacesameversion
Source: {#SetupDir}\appicon.ico; DestDir: {app}; Components: program;
Source: {#SetupDir}\appicon_16.png; DestDir: {app}; Components: program;
Expand Down
Binary file modified setup/PasswordWallet.o2
Binary file not shown.
Binary file modified setup/ReadMe.rtf
Binary file not shown.
6 changes: 3 additions & 3 deletions sf_net/upd8r.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<Update>
<AppName>O2</AppName>
<AppVersion>
<MajorVersion>2</MajorVersion>
<MinorVersion>4</MinorVersion>
<MajorVersion>3</MajorVersion>
<MinorVersion>0</MinorVersion>
<Release>0</Release>
<Build>520</Build>
<Build>550</Build>
</AppVersion>
<DownloadURL>https://github.com/maurizuki/O2/releases/latest</DownloadURL>
</Update>
130 changes: 0 additions & 130 deletions src/DCPcrypt2/Ciphers/DCPgost.inc

This file was deleted.

Loading

0 comments on commit 47a107e

Please sign in to comment.