Commit Graph

423 Commits

Author SHA1 Message Date
Robert C. Martin
037e575a2f On startup read files, latest first, and concurrently open the relays. 2022-09-06 08:14:48 -05:00
Robert C. Martin
8412639372 Remove all declares except those needed for 'with' statements in tests. 2022-09-05 14:11:18 -05:00
Robert C. Martin
2515760a6e Fix lookup-reference crash when nostr.client mis-indexed the references. Also use empty? instead of nil? 2022-08-27 00:43:11 -05:00
Robert C. Martin
4d4b9cf487 Prevent bad url from crashing when clicked. 2022-08-21 13:11:36 -05:00
Robert C. Martin
b37bf2c519 Fix NPE when tag is nil. 2022-08-21 06:56:12 -05:00
Robert C. Martin
c467564430 Change version 2022-08-17 15:49:42 -05:00
Robert C. Martin
d2347ce293 Ping every 30 seconds. And fix bug that blocked the create button (dumb). 2022-08-17 15:42:48 -05:00
Robert C. Martin
af40b06539 Change version. 2022-08-16 21:36:30 -05:00
Robert C. Martin
511256cec4 Sanity check the relay names. Don't allow localhost and http and non-urls. 2022-08-16 18:26:19 -05:00
Robert C. Martin
738db4f52b
Merge pull request #20 from alemmens/fix-open-link
Get open-link to work (when user clicks on a URL).
2022-08-16 12:03:49 -05:00
Arthur Lemmens
661d88467f Get open-link to work (when user clicks on a URL).
It didn't do anything except print an error message when I tried clicking
on links in the article window. I assume this is because browse/browse-url
expects a string and .getURL returns some kind of url object, and the two
are not compatible.

The error message was:
  Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
  class java.net.URL cannot be cast to class java.lang.String (java.net.URL and java.lang.String are in module java.base of loader 'bootstrap')
	at clojure.java.browse$open_url_in_browser.invokeStatic(browse.clj:50)
	at clojure.java.browse$browse_url.invokeStatic(browse.clj:74)
	at clojure.java.browse$browse_url.invoke(browse.clj:66)

(This occurred with Clojure 1.10.3, Java 18.0.1.1., Windows 10)
2022-08-16 17:44:43 +02:00
Robert C. Martin
6c720c73c8
Merge pull request #19 from galuszkak/feature/test-fails-enabled
fix: enable test fail on Windows. Fix #11
2022-08-16 07:52:03 -05:00
Kamil Gałuszka
79698f8f07 fix: enable test fail on Windows. Fix #11 2022-08-16 08:03:11 +02:00
Robert C. Martin
09c89e1684 Fix issue 18, NPE when reply clicked right after start. 2022-08-15 08:48:42 -05:00
Robert C. Martin
e11c7c07f9 Allow raw pubkeys in @ references within an article. It creates a profile name for that user based on that pubkey. 2022-08-14 13:07:55 -05:00
Robert C. Martin
08ad76abe3 Change version. 2022-08-14 09:45:58 -05:00
Robert C. Martin
c67143168c Fix tag types with colons in them. read-string doesn't like them. 2022-08-14 09:44:14 -05:00
Robert C. Martin
4676aba4ca add root of thread when adding an event to a tab. 2022-08-10 13:31:49 -05:00
Robert C. Martin
55f953b52b Use trusted petnames in @ and #[] emplacements. 2022-08-09 10:38:53 -05:00
Robert C. Martin
7f656f7f77 change version number 2022-08-05 08:37:21 -05:00
Robert C. Martin
8dca301aa6 Add @koonopek's copy-click to all the id fields of the article panel. Nice work! 2022-08-05 08:36:50 -05:00
Robert C. Martin
dba49c218c Merge branch 'main' of github.com:unclebob/more-speech 2022-08-05 08:19:57 -05:00
Robert C. Martin
3650eece72
Merge pull request #15 from koonopek/articleinfo-panel-should-pop-up-a-menu-with-copy
Right clicking an id in the article info panel should pop up a menu with Copy to Clipboard
2022-08-05 08:19:22 -05:00
Robert C. Martin
40eb4c09da Change length of user id 2022-08-05 08:18:50 -05:00
Michał Konopka
2277845d2c Add pop-up to copy id in article_panel 2022-08-05 01:17:19 +02:00
Michał Konopka
df891eba49 Add .lsp and .clj-kondo to .gitignore (vsc extensions for clj) 2022-08-05 01:12:56 +02:00
Robert C. Martin
8d25974d22 change verson 2022-08-04 09:32:03 -05:00
Robert C. Martin
30ff04d816 Indirect trust rendered as name<-trusted 2022-08-04 09:31:22 -05:00
Robert C. Martin
77e46b601c change version 2022-08-03 13:37:55 -05:00
Robert C. Martin
47e51151b5 Web of trust. Kind-3 seems to be managed well. Should probably not allow kind-3 to delete users from this user's contact list... 2022-08-03 13:14:00 -05:00
Robert C. Martin
4bc60a7ab6 Pull kind-3 contact lists at startup. Mark untrusted users with (). Set up for petnames. 2022-08-03 10:19:37 -05:00
Robert C. Martin
fd861a793f Fix bug. Contact list was not formed correctly. p tag pubkeys are hex strings, and have been turned into numbers. 2022-08-02 08:42:20 -05:00
Robert C. Martin
e935a08eb6 Migration 9 contact-lists. Initital processing of kind-3 and accumulation of the contact-lists. 2022-08-01 11:39:05 -05:00
Robert C. Martin
2f1a539920 Periodically read in all profiles from relays. Uses user-configuration :import-metadata group. 2022-07-31 08:24:18 -05:00
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