Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

angela-1/cherryblossom

Repository files navigation

樱花



cherryblossom.png

写作这个程序的时候,正值家乡冬樱花盛开,便以此为名。

开发笔记

  • [X] 让密码验证这部分可以工作了
  • [X] 欢迎界面要生成数据库文件,配置文件,密钥文件
  • [X] 完善语言资源文件
  • [X] 完成设置对话框
  • [X] logo应该再改一下,现在这个太丑了
  • [X] 在 res804 工程里添加了生成后事件,用 ResText.exe 处理生成po文件进行翻译
  • [X] 从 TortoiseSVN 的源码里找到了它用于国际化的工具 ResText.exe ,用这个处理dll生成po文件,然后用poedit翻译
  • [ ] 软件文档要写,并通过菜单打开,写成html吧,就是这个org文件生成的html
  • [ ] 完成导出功能
  • [ ] static 控件在设置文字时要先清空一遍,不然会覆盖
  • [ ] 当edit控件为空时,提示框也要清空
  • [ ] 界面文字字号字体要统一
  • [ ] 国际化开发,继续翻译
  • [ ] 处理第一次运行的欢迎界面,做一个介绍和展示,优化界面显示

前言

樱花 是一个用来管理各种账户的程序,它将各种各样的账户如微信账号,微博账号,电子邮件账号等保存在数据库中,并加密存储。在读取的时候,使用拼音首字母或者全拼或者字符来快速获取账号信息。

特性

  • 支持拼音首字母、全拼、部分拼音、中文的快速搜索
  • 加密保存密码和数据
  • 支持导出账户
  • 多国语言支持,目前有中文和英语

使用的工具

  • SQLite 3
  • OpenSSL 的加密库
  • 网上找的一份拼音表
  • TortoiseSVN 的 Restext 工具

数据库

数据库表设计

需要一个表: accounts 表结构如下:

fieldidtagcategoryurl
col0123
typeintegertexttexttext
propertyprimary keyunique not null
value1,2,3Googlewwwwww.google.com
lengthauto2020200
fielduserpasswordnotelastmodpyshortpyfull
col456789
typetexttexttextnowtimetexttext
propertynot null default
valueruoshuimimagoogle account1990-02-14 14:21:03googlegoogle
length100162002020100

数据库命令

Create table

create table accounts(
	id integer primary key, 
	tag text unique not null, 
	category text, 
	url text, 
	user text, 
	password text, 
	phone text, 
	mail text, 
	note text, 
	lastmod TimeStamp NOT NULL DEFAULT (datetime('now','localtime')), 
	pyshort text, pyfull text);

Insert data

insert into accounts (tag, category, url, user, password, phone, mail, note, pyshort, pyfull) 
    values("tag" "category" "url" "user" "password" "phone" "mail" "note" "pyshort" "pyfull");

Update data

update accounts set category="category" url="url" user="user" password="password" phone="phone" 
    mail="mail" notes="notes" lastmodified="datetime('now','localtime')" where tag="tag";

Delete data

delete from accounts where tag="tag";

多语言

使用了来自 TortoiseSVN 的资源 dll 处理工具 ResText ,它将纯资源 dll 解析出来,生成 po 文件供翻译,然后用翻译好的文件生成新的资源 dll。

About

An encrypt account book

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published