Commit Graph

52 Commits

Author SHA1 Message Date
Olof Hellman 43cfb54437 support for permalink and external url
Consolidate GetURL AppleEvent handling into AppDelegate+Scriptability
file
Add scripting access groups to sdef
Add exists command
Add ‘permalink’ and ‘external url’ properties to the article scripting
object
Add a unit test to verify the behavior of ‘current article’
2018-02-11 01:20:30 -08:00
Olof Hellman 395af1420e implement 'current article' property of the application
Also, fix the unique-id based accessors (the four byte code  for id was
wrong in the sdef)
Add valueIn<Key>WithUniqueID accessors
Add a few protocols and protocol implementations for the AppDelegate
and MainWindowControllor so as to expose needed functionality for
scriptability
2018-02-08 00:11:52 -08:00
Olof Hellman 903dff13d2 Add tests for simple article property script, fix error in previous
OPML xctest function (wrong name for test function).
2018-01-24 00:27:56 -08:00
Olof Hellman 31bd9d918c Scripting support for articles and basic article properties
Also, added support for accessing feeds directly from the top level
container, essentially skipping account as a hierarchy level.

With this change, a script like

tell app “Evergreen”
   title of every article of feed "Six Colors" where read is true
end tell

produces the expected result.
2018-01-24 00:06:34 -08:00
Olof Hellman 2973bf8edb Add opal representation properties for scripting feed, account and
folder.
2018-01-19 22:49:01 -08:00
Olof Hellman adcd266a11 Scripting support for Author class and expanded properties for feeds 2018-01-19 22:31:17 -08:00
Olof Hellman 775dbf0852 basic readonly scripting support for account, feed, folder 2018-01-11 00:51:25 -08:00
Olof Hellman b04a4b83f2 Add very minimal support for a scripting dictionary — only the getURL
AppleEvent — and add an XCTestCase that can run and verify results of
AppleScripts that target Evergreen.
2018-01-07 15:13:10 -08:00
Brent Simmons 4bb5270860 Move template and style sheet to same group as ArticleRenderer. 2018-01-03 13:07:05 -08:00
Brent Simmons 867e775e69 Show feed icons and avatars in the timeline. 2017-12-31 12:10:30 -08:00
Brent Simmons c8a7b39178 Fix avatar alignment in the detail view. 2017-12-31 10:11:44 -08:00
Brent Simmons f812209d06 Put avatars in detail view on the right side, a la Mail. 2017-12-30 10:02:46 -08:00
Brent Simmons d2d7369d6a Show favicon in detail view when available and when there’s no user avatar or feed icon. 2017-12-29 20:04:43 -08:00
Brent Simmons 3b92c543fb Continue experimentation with detail view and avatars. 2017-12-29 18:14:16 -08:00
Brent Simmons 4be6df2c56 Continue experimentation with detail view avatars. 2017-12-29 17:10:50 -08:00
Brent Simmons 708e46ed18 Make progress on showing avatars in the detail view. 2017-12-29 12:21:19 -08:00
Brent Simmons a210dd2318 Make detail status bar show only on mouseover of a link. Don’t have an always-present view of the permalink. (We’ll see how this goes.) 2017-12-28 18:41:01 -08:00
Brent Simmons 7ae2345073 Implement the Feed Directory’s split view delegate. 2017-12-28 13:37:52 -08:00
Brent Simmons b0b7441687 Start rebuilding the Feed Directory window using a .xib instead of a storyboard. The storyboard was giving me major grief over the split view. This way I have much better control over the split view. 2017-12-27 17:29:22 -08:00
Brent Simmons 9d05c0bb8b Simplify styling. 2017-12-26 11:05:55 -08:00
Marvin Scholz 9f27022c06 Remove shortcut explanation that should be obvious with new styling 2017-12-26 02:31:43 +01:00
Marvin Scholz 99a6f45e48 Use kbd element for shortcut keys and style accordingly 2017-12-26 02:31:11 +01:00
Marvin Scholz f4cc6b1a09 Use more semantic HTML for tables 2017-12-26 01:56:17 +01:00
Brent Simmons b08281c861 Add keyboard shortcut for mark-older-as-read: the o key. (Oh, not zero.) 2017-12-25 12:29:13 -08:00
Brent Simmons 662a273d7f Edit KeyboardShortcuts.html. 2017-12-21 13:58:18 -08:00
Brent Simmons 84845c21b3 Make sidebar expand/collapse keyboard shortcuts work. 2017-12-21 11:09:07 -08:00
Brent Simmons 70000c1d31 Progress on keyboard shortcuts. Add link to Technotes in Help menu. Fix #266. 2017-12-20 21:23:48 -08:00
Brent Simmons ac3947b164 Continue progress on keyboard shortcuts. 2017-12-20 20:51:17 -08:00
Brent Simmons 5657f673f1 Normalized references to arrow keys. 2017-12-20 17:40:46 -08:00
Brent Simmons 01de056684 Style the Keyboard Shortcuts window HTML. 2017-12-20 17:23:23 -08:00
Brent Simmons d7bd7140ba Add first draft of the Keyboard Shortcuts page. 2017-12-20 16:39:58 -08:00
Brent Simmons 6205532ab1 Add colors.brightBlue to DB5.plist. (The hex value comes from Brad. Matches the toolbar icons.) 2017-12-17 10:49:45 -08:00
Brent Simmons 2efcd7ea0c Get rid of the window status bar. Put the current URL at the bottom of the detail view. 2017-12-16 10:18:02 -08:00
Brent Simmons a4c59a75ad Merge branch 'master' of https://github.com/brentsimmons/Evergreen 2017-12-05 21:58:29 -08:00
Brent Simmons bef77bc4a1 Create and use a plain-background NoSelectionView to display in the detail pane when there’s no current article. Fix #237. 2017-12-03 12:45:34 -08:00
Brent Simmons 5baafb7799 Increase the padding slightly in timeline cells. 2017-12-02 22:43:15 -08:00
Brent Simmons 6c135c80b0 Add TimelineHeaderView. 2017-11-29 13:35:25 -08:00
Brent Simmons dd05a24704 Do the first parts of showing feed avatars. 2017-11-28 21:39:09 -08:00
Brent Simmons 6a99534378 Add initial layout constants for avatar image. 2017-11-27 13:00:48 -08:00
Brent Simmons 4cf3f8dfe7 Create and use SidebarCellAppearance and SidebarCellLayout with SidebarCell. 2017-11-24 21:39:59 -08:00
Brent Simmons 0ed0b483bc Make unread indicator circle in timeline match the same blue used in toolbar icons. 2017-11-21 13:06:23 -08:00
Brent Simmons 0bc84aa50c Show the Keyboard Shortcuts menu via its new Window menu command. The window’s HTML content remains to be done, though. 2017-11-13 18:33:23 -08:00
Brent Simmons 22275edf53 Create OPMLImporter with code cut from AppDelegate. 2017-10-05 13:28:39 -07:00
Brent Simmons 55967f8731 Fix some build errors. 2017-09-26 21:43:40 -07:00
Brent Simmons cf77f19276 Use https URLs for all ranchero.com/evergreen/. 2017-06-01 16:28:27 -07:00
Brent Simmons 7b81bde429 Use https URL for Evergreen news in default feeds. 2017-06-01 16:27:09 -07:00
brentsimmons 8b0e8c65de Merge pull request #85 from Wolfr/bugfix/responsivevideo
Provide responsive HTML5 video next to images
2017-06-01 14:54:27 -07:00
Wolfr f77ff68807 If the blog post author left width tags in his/her HTML, still make sure the image shows its original aspect 2017-06-01 21:36:06 +02:00
Wolfr 6208b072b4 Provide responsive HTML5 video next to images 2017-06-01 20:27:26 +02:00
Brent Simmons d29727269c Put feed/byline at top of detail view. Fix #8. 2017-05-29 11:53:07 -07:00