Commit Graph

286 Commits

Author SHA1 Message Date
Robert C. Martin
5d169ceb82 Fixed a few code inspection faults. 2022-09-19 11:24:24 -05:00
Robert C. Martin
99c598e166 Change version to 202209191120 2022-09-19 11:21:10 -05:00
Robert C. Martin
3843ed279f Reply to DM sets up the D @xxx in the response. 2022-09-19 11:19:02 -05:00
Robert C. Martin
34b998a164 Draw mark on DMs 2022-09-19 10:46:07 -05:00
Robert C. Martin
52e785b467 Fix DM regulare expression. 2022-09-19 10:39:11 -05:00
Robert C. Martin
c312307b35 Hexify get-info 2022-09-19 10:25:45 -05:00
Robert C. Martin
e0f8f107cc Tree selection color is :azure. 2022-09-19 10:10:08 -05:00
Robert C. Martin
d8f4aaf5de Add maven files created by lein deploy. 2022-09-18 20:10:59 -05:00
Robert C. Martin
761dfb169e Can now send and receive DMs, and the uberjar contains the bouncy-castle stuff because I used lein deploy to create a module from the jar. 2022-09-18 20:07:00 -05:00
Robert C. Martin
e9d4bda3f2 Tentative ability to send DM. Waiting for confirmation. uses "D @xxx" style. 2022-09-18 11:25:21 -05:00
Robert C. Martin
4b5c1deab2 Clean up the @(:event-context @ui-context) BS. replace with get-event-state. Stop passing event-state and event-context around unless they are going to change. 2022-09-17 16:50:31 -05:00
Robert C. Martin
34822547e7 Start staging things for the DM update. Add bouncycastle and some functions for shared keys and encryption. 2022-09-16 12:31:14 -05:00
Robert C. Martin
f7d9970f92 On startup, get subscription time from the last event in the last saved file. 2022-09-14 08:21:16 -05:00
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