Commit Graph

389 Commits

Author SHA1 Message Date
Robert C. Martin
95188fadd8
Merge pull request #13 from jgomo3/main
Fix locale for `file-name-from-day`
2022-07-30 15:30:50 -05:00
Jesús Gómez
46b429ca95 Fix locale for file-name-from-day
The following tests were failing because the function `file-name-from-day` insisted in adding a dot (`.`) to the month:

 - data-storage partition-messages-by-day calculates file name from day
 - The Migrator migration 7 break message-file into daily files breaks up message-file and deletes it

I was running the tests in my machine with local set to Canada.

Considering that it is for an automated file name creation, maybe full consideration of locale is not necessary. So, fixing it to the expected output by the Original Author makes sense.
2022-07-30 17:29:32 -02:30
Robert C. Martin
e25b2eb3e6 change version number 2022-07-30 14:35:17 -05:00
Robert C. Martin
b761383141 Merge remote-tracking branch 'origin/main' 2022-07-30 14:30:38 -05:00
Robert C. Martin
9b17979b2f Added :never to [:export-user-profile :export-after-days] 2022-07-30 14:30:19 -05:00
Robert C. Martin
7a142b6917
Merge pull request #12 from galuszkak/feature/add-tests
Add minimal Continous Integration (Github Actions)
2022-07-30 13:33:38 -05:00
Robert C. Martin
f8cdd7086a Export profile if keys file changed since last export. 2022-07-30 11:46:01 -05:00
Robert C. Martin
8d2da0f976 Add :export-user-profile variables to user-configuration file. Send user profile only every :export-after-days days. 2022-07-30 11:24:36 -05:00
Robert C. Martin
8abcb0f44a Migration 8 user-configuration file, empty for now. 2022-07-30 10:00:28 -05:00
Kamil Gałuszka
56a68c365d Add minimal Continous Integration (Github Actions) 2022-07-30 07:46:13 +02:00
Robert C. Martin
672f7bec23 change version number. 2022-07-29 11:36:13 -05:00
Robert C. Martin
25daaf5d54 Delete tabs, add new tabs, select and block articles and authors. 2022-07-28 13:22:25 -05:00
Robert C. Martin
0651bdd307 Change name of tab. 2022-07-28 08:21:40 -05:00
Robert C. Martin
4c8ffeba0f Fix tests and bump version number. 2022-07-23 10:05:51 -05:00
Robert C. Martin
c73cae8293 use the public-key in the keys file, rather than recomputing it. Some clients use a different algorithm for going from priv-key to pub-key and we want users to be able to set their pubkey to keep their public ids consistent. 2022-07-23 09:51:58 -05:00
Robert C. Martin
64a823e214 Add a numerical suffix to names that are duplicates for existing pubkeys. Print longer names in the article window and article tree, and don't trim the names in the profiles file. 2022-07-23 09:39:21 -05:00
Robert C. Martin
fa4acece82 Add name and version to window title, and version to :client tag in outgoing messages. 2022-07-22 08:02:54 -05:00
Robert C. Martin
1c91c23d18 Don't crash when events contain bad e tags. 2022-07-21 13:41:45 -05:00
Robert C. Martin
97764b6ef6 Migration 7, break message-file into daily files. 2022-07-20 11:04:33 -05:00
Robert C. Martin
68666d4d8f Reading and writing of daily files is complete. Next I need to write the migration. 2022-07-20 09:40:19 -05:00
Robert C. Martin
57429d3d4e Reading and writing daily message files. But not pushing because migration 7 is not ready. 2022-07-19 15:26:50 -05:00
Robert C. Martin
db212d7c63 Refactoring. Extracted data-storage module in preparation for daily message files. 2022-07-19 09:38:59 -05:00
Robert C. Martin
d19ab062c0 Fix bug that sometimes did not load the proper article into a reply. 2022-07-17 08:57:24 -05:00
Robert C. Martin
db3c103b9d Stop using tab names and use tab indices instead. Also fix bug that sometimes didn't load article when using back button. 2022-07-17 08:42:57 -05:00
Robert C. Martin
2421f3a0f5 Migration 6 complete. Tabs file removed. Tabs-list file created. All code uses new tabs scheme. This is much better. 2022-07-16 13:17:37 -05:00
Robert C. Martin
d9561adc56 Migration 6, reformat tabs to tabs-list, and get prepared. 2022-07-16 10:54:55 -05:00
Robert C. Martin
930575f7c9 merge sathwikmatsa pull request to linkify article. 2022-07-10 14:15:23 -05:00
Robert C. Martin
c2b4e24cca Refactor. Create util/selectTab. 2022-07-10 11:11:18 -05:00
Robert C. Martin
2578d4ffdb Make sure we can select tabs by selecting the appropriate tab content. 2022-07-10 10:41:15 -05:00
Robert C. Martin
96717b9a6b Disable change name and delete menus for :all tab. 2022-07-10 09:41:47 -05:00
Robert C. Martin
e341267d6d Added popup menu to tab labels. Menu items not implemented yet. 2022-07-10 08:56:31 -05:00
Robert C. Martin
1d0e9f8c9a Migration 5. Remove nicknames file. Make sure on first time start we subscribe one day back. 2022-07-05 14:34:46 -05:00
Robert C. Martin
dee5222a2b All nickname dependencies removed except for the migrator, which is grandfathered to maintain backwards compatibility. 2022-07-05 14:09:24 -05:00
Robert C. Martin
48fbe30621 Removed useless nicknames from some tests. 2022-07-05 09:22:15 -05:00
Robert C. Martin
f7bead98f4 replace-references and lookup-references use profiles 2022-07-05 09:11:34 -05:00
Robert C. Martin
981aa6b412 format-reply, format-header, and format-user-id use profiles. 2022-07-05 08:59:45 -05:00
Robert C. Martin
3dfdc5ac49 find-user-id uses profiles. 2022-07-05 08:09:01 -05:00
Robert C. Martin
fdaefd428c Save and load profiles into private/profiles. Soon we will eliminate private/nicknames. 2022-07-04 09:35:30 -05:00
Robert C. Martin
7b04dc1dd9 Migration 4 moves nicknames to profiles. 2022-07-04 08:53:28 -05:00
Robert C. Martin
2094c656b3 When a tap selects for an id, any event that has a 'p' tags with that id will be included. 2022-06-17 15:15:06 -05:00
Robert C. Martin
672c5ce69a Save and read message file. Set subscription time to just before last message time. Migration 3 creates messages directory and message-file. 2022-06-17 10:30:11 -05:00
Robert C. Martin
89868f3d0d Word wrap the edit window using :wrap-lines in a 'styled-pane' 2022-06-16 15:12:59 -05:00
Robert C. Martin
b171c52458 Add > in front of 'from' line in reply. 2022-06-12 14:53:58 -05:00
Robert C. Martin
45ac056edd Add From/Date/Relay to replies. 2022-06-12 13:53:52 -05:00
Sathwik Matsa
fcdbccdf9c Linkify URLs in article window 2022-06-09 21:12:29 +05:30
Robert C. Martin
9b9048e477 Preserve the format of replies in the article display. (Lines that start with > are preserved). 2022-06-08 18:39:19 -05:00
Robert C. Martin
eadd71d5fd Migration 2. Fix user names in the nicknames file. 2022-06-07 14:37:39 -05:00
Robert C. Martin
e4b22433aa Initial migration from no setup to all files set up with automatically generated keys and user name. 2022-06-06 14:22:49 -05:00
Robert C. Martin
5343f3810f Ensure :all tab is present. 2022-06-06 10:42:59 -05:00
Robert C. Martin
6cda2b2fe5 Migration framework. 2022-06-06 10:25:16 -05:00