Commit Graph

379 Commits

Author SHA1 Message Date
Nick Vella ff4663ec9d ssg: WeblogConfigurationWizardPanelBlogType: add 'Static Site Generator' option to wizard 2019-06-30 22:21:32 +10:00
Nick Vella 005cac2846 ssg: BlogSettings, IBlogSettingsAccessor: add IsStaticSite setting 2019-06-30 22:20:42 +10:00
Nick Vella b6ac711cde ssg: Strings: add wizard page title 2019-06-30 22:20:22 +10:00
Nick Vella db98134f8d ssg: add strings 2019-06-30 22:12:11 +10:00
Nick Vella 2365a9b949 ssg: Rename StaticSiteGeneratorClient to StaticSiteClient 2019-06-30 22:11:53 +10:00
Nick Vella 61275bcbdf ssg: StaticSiteGeneratorClient: stub from IBlogClient 2019-06-30 18:17:35 +10:00
Nick Vella d0b62a6b94 ssg: StaticSiteGeneratorClient: add more docs 2019-06-30 17:54:13 +10:00
Nick Vella 96242f2f60 ssg: basic front matter structure and YAML serialization 2019-06-30 17:53:38 +10:00
Nick Vella 651ff1575f ssg: add YamlDotNet package 2019-06-30 17:52:42 +10:00
Nick Vella 0f69b7f4b4 ssg: Start on StaticSiteGeneratorClient 2019-06-30 15:59:03 +10:00
Nick Vella e1a622f46e split post: SplitterControl: tile splitter separator image to 255 pixels wide 2019-06-29 22:57:09 +10:00
Nick Vella 4fe0582645 split post: ExtendedEntrySplitterElementBehavior, SplitterControl: make DPI aware 2019-06-29 22:52:23 +10:00
Nick Vella 6b8d3d1fe8 DisplayHelper: scaling functions which automatically run Math.Ceiling 2019-06-29 22:51:09 +10:00
Nick Vella 3eb2ad9513 split post: ExtendedEntrySplitterElementBehavior, SplitterControl: set static splitter height of 16, refactor SplitterControl height code, pass SplitterControl height to constructor from ExtendedEntrySplitterElementBehavior, and compute splitter div height based on static splitter height. SplitterControl will no longer dynamically resize based on font size, but should not be an issue. 2019-06-29 22:00:28 +10:00
Nick Vella e77d043585 split post: SplitterControl: set a static VirtualHeight of 16. A smarter way to acheive this would be by measuring the font height 2019-06-29 18:09:56 +10:00
Nick Vella 7fc61ab713 split post: ExtendedEntrySplitterElementBehavior: only synchronize the splitter width, not height. 2019-06-29 18:09:14 +10:00
Nick Vella 150b924799 PostHtmlEditingSettings: append IE9 emulation UA compatibility, replace current UA compatibility if one already exists 2019-06-29 16:05:48 +10:00
Nick Vella 6a75beed3d default editing template: Set IE9 emulation mode to fix element behaviors 2019-06-29 16:04:54 +10:00
Jon Galloway aa5d6e2e39
Merge pull request #824 from nvella/fix-823
Partial fix for #823; stretch StatusBackground to 256 pixels
2019-06-16 16:00:51 -07:00
Nick Vella 74623609f7 #823: stretch StatusBackground to 256 pixels. As the previous bg was only three pixels wide, this will reduce iterations of the tiling loop, especially on high DPI displays. 2019-06-16 23:11:08 +10:00
Nick Vella f690377f22 dpi: scale BlogPostHtmlEditorControl margins on title and content 2019-06-13 22:24:32 +10:00
Nick Vella 16a861e50a dpi: fix tab width scaling 2019-06-13 21:55:56 +10:00
Nick Vella 9683414e61 dpi: ...add more descriptive comment 2019-06-13 21:48:08 +10:00
Nick Vella 353560ddff dpi: force PostEditorFooter height to the height of it's FlowLayoutPanel. unsure as to where this extra padding is coming from 2019-06-13 21:47:50 +10:00
Nick Vella 0051af6832 dpi: add various scaling helper functions to DisplayHelper 2019-06-13 21:40:55 +10:00
Nick Vella 46846b2119 make live clipboard icon 24x24 square, fix corners 2019-05-16 20:24:01 +10:00
Nick Vella 04e9610673 dpi: fix SideBarControl button scaling 2019-05-16 18:54:34 +10:00
Nick Vella 86a9a0da3d dpi: fix SplashScreen scaling 2019-05-16 18:36:37 +10:00
Nick Vella 33cf68c1c7 dpi: scale UpdateWeblogProgressForm with ScaleBitmap 2019-05-16 18:36:27 +10:00
Nick Vella d02e120386 dpi: add ScaleBitmap static method to DisplayHelper 2019-05-16 18:36:11 +10:00
Nick Vella a1c4d542e0 dpi: remove comment 2019-05-15 23:59:03 +10:00
Nick Vella 27bc787537 dpi: scale posting animation as per DPI at startup 2019-05-15 23:55:00 +10:00
Nick Vella aaf92becd6 blogger/gdrive: more detailed upload failure exception 2019-05-05 12:02:29 +10:00
Nick Vella 5df49c466d blogger/gdrive: throw more descriptive exception when file fails to upload to drive 2019-05-05 11:50:18 +10:00
Nick Vella 19a2b5c719 blogger/gdrive: remove Google.Apis.PhotosLibrary.v1 2019-05-05 00:33:22 +10:00
Nick Vella 5309ca2baf blogger/gdrive: split off download option 2019-05-05 00:13:37 +10:00
Nick Vella f5164e3464 blogger/gdrive: switch to google drive 2019-05-04 23:59:29 +10:00
Nick Vella 35e65f8a58 blogger/gdrive: remove/comment gphotos code 2019-05-04 21:11:17 +10:00
Nick Vella 8b83f29f72 blogger/gdrive: remove/comment gphotos code 2019-05-04 21:10:46 +10:00
Nick Vella 4f75609ede blogger/gphotos: remove excessive creation of library service 2019-05-04 20:47:58 +10:00
Nick Vella e1d6660119 blogger/gphotos: tidy up 2019-04-30 16:27:25 +10:00
Nick Vella fa95f4a9af blogger/gphotos: share OLW album, get download url for images, remove image editing; reupload a new image every time 2019-04-30 16:21:25 +10:00
Nick Vella 5fe336f957 blogger/gphotos: remove Picasa workaround 2019-04-30 15:17:52 +10:00
Nick Vella bf382fe513 blogger/gphotos: uploading and adding image to Open Live Writer album 2019-04-30 15:05:17 +10:00
Nick Vella 2b3d69cc3c blogger/gphotos: remove ShowPicasaSignupPrompt 2019-04-29 20:02:35 +10:00
Nick Vella 39d9ba4c03 blogger/gphotos: check for existing OLW album, create it if it doesn't exist, return the album ID 2019-04-29 19:23:57 +10:00
Nick Vella 455d385d04 Generated and included Google.Apis.PhotoLibrary.v1 from https://github.com/google/apis-client-generator and the Google PhotosLibrary API description 2019-04-29 19:12:06 +10:00
Jon Galloway e158d0e2bb Added deprecation header to Picasa requests 2019-01-19 14:25:57 -08:00
Jon Galloway cf8bd99017
Merge pull request #789 from Leftopia/master
Temporary fix for Picasa web requests
2019-01-19 12:46:59 -08:00
Jim Galasyn f31228ede3 Use https in picasaUri 2019-01-19 10:11:37 -08:00
Jim Galasyn f2b73351af Update per feedback: retarget solution to 10.0.17134.0 (April/1803); add the Picasa hack to BloggerAtomClient 2019-01-19 08:48:22 -08:00
Scott Lovegrove 82b0be177a [WIP] Associate .wpost files with OLW (#592)
* Add file associations

* Updated assemblyinfo

* Update package manifest
2019-01-19 02:15:25 -08:00
plieblang 6e2d8dc89a Fix crash caused by addition of Tistory support (#721) 2019-01-19 02:02:20 -08:00
Jim Galasyn f3c82fd767 Add deprecation-extension=true to Picasa web requests 2019-01-18 17:51:24 -08:00
plieblang b83bb29845 Fix crash caused by addition of Tistory support 2018-02-23 17:29:25 -06:00
Josh Soref 87c151e9b1 Fix spelling errors in comments (#663)
Changes an example to use example.net and adds a trailing slash
2017-11-30 21:05:36 -08:00
manggsoft 7fbdd4b470 Create TistoryBlogClient.cs (#694)
Tistory oauth 2.0 of korea
2017-11-30 15:45:11 -08:00
manggsoft ed787df5bd Update BlogProvidersB5.xml (#693)
add tistory blog
2017-11-30 15:43:32 -08:00
Jon Galloway 78d28ebb63 Update build to use Squirrel SyncReleases
Pulling down most recent release to build diff package
2017-05-03 12:23:40 -07:00
Jon Galloway f3b5876f3c Removed unneeded reference to VSSDK 2017-03-13 22:59:40 -07:00
Jon Galloway beade964ec Removed unused file 2017-03-13 22:59:17 -07:00
Jon Galloway f35f6982c6 Removed log4net references
(no longer rqd by Google APIs)
2017-03-13 22:58:26 -07:00
Jon Galloway c955a467c4 Package updates, removed unneeded packages 2017-03-13 21:40:18 -07:00
Jon Galloway f82bcd1019 Binding redirect updates to clean up build 2017-03-13 18:52:27 -07:00
Jon Galloway 8836f3c209 Suppressed package analysis in Chocolatey build 2017-03-13 18:51:07 -07:00
Jon Galloway b986342910 Revert splat version 2017-03-13 14:08:26 -07:00
Jon Galloway 59ae82d7f3 Temporarily roll back squirrel to 1.4.4 2017-03-13 14:01:24 -07:00
Jon Galloway d46e023bfd Updated splat and squirrel. Fixes #589 2017-03-13 13:44:51 -07:00
Scott Lovegrove cc5ec32f63 Fix 501 Blogger Error (#584)
* Initial run at having different routes to getting the image publishing in Blogger sorted

* Gets the correct picasa user id

* Update error message to include tutorial link
2017-03-13 09:06:08 -07:00
Scott Lovegrove 4c2df4af73 Merge pull request #586 from OpenLiveWriter/jongalloway-issue-585
Add Per-Monitor DPI Support
2017-03-13 08:43:19 +00:00
Jon Galloway dbd01b4a41 Merge branch 'master' of https://github.com/openlivewriter/openlivewriter 2017-03-12 22:22:17 -07:00
Jon Galloway 5c09fc51df Merge branch 'vhanla-master' 2017-03-12 22:21:51 -07:00
Jon Galloway 2a3f0dfe64 Added CSS3 support to default template 2017-03-12 22:21:43 -07:00
Jon Galloway 5ff1f1b1f2 Merge branch 'master' of https://github.com/vhanla/OpenLiveWriter into vhanla-master 2017-03-12 21:48:31 -07:00
Nimesh Madhavan f62c5117f8 handle blogger dynamic templates (#437)
Tested against blogger site with dynamic template, works as expected.
2017-03-12 20:59:30 -07:00
Jon Galloway d710e93776 Add per-monitor DPI Support
Fixes issue #585. Tested on Surface Book with 1440p secondary monitor, scaling appeared same on high DPI monitor and much better on lower DPI monitor.
2017-03-12 19:31:57 -07:00
Jon Galloway da2e41a615 Merged #438 2017-03-12 16:13:48 -07:00
Jon Galloway 5fef3f2b5e Merge branch 'ImproveBuild' of https://github.com/flcdrg/OpenLiveWriter into flcdrg-ImproveBuild 2017-03-12 15:23:20 -07:00
Scott Lovegrove e0502d2f2c Merge pull request #521 from zivkan/atompub-relative-url
Support atompub service link with relative url
2017-03-12 09:45:24 +00:00
Jon Galloway 8a91889470 Binding redirect for version deconfliction 2017-03-12 00:07:27 -08:00
Jon Galloway 082b7a4f89 Resolved merge conflicts in PR #478 2017-03-11 23:42:07 -08:00
David Gardiner 7f4d51d204 Fix scaling of categories dropdown and options dialog (#450)
* Scale height of category checkbox list

* Fix bitmap layout

* Clean up code
2017-03-11 23:07:12 -08:00
Andy Zivkovic ccf7f9a540 Support atompub service link with relative URL 2016-10-09 10:47:09 +02:00
Will Duff e639e99152 Put Squirrel updater behind conditional compilation flag 2016-09-20 00:17:23 -07:00
Will Duff 7781d4205d Upgrade Writer to .NET Framework 4.6.1, upgrade NuGet packages
Upgrades Squirrel installer to 1.4.4 which includes fix so that /silent
option works correctly.
2016-09-19 23:34:55 -07:00
Rob Dolin (MSFT) 7fb9626a9b Merge pull request #133 from rhysgodfrey/update-telligent-provider
Update Telligent Community Provider
2016-08-30 11:00:26 -07:00
Rob Dolin (MSFT) eb2ba0d4f0 Merge pull request #85 from LorenVS/custom-lists-use-list-t
Change some custom collections to inherit from List<T> to avoid dupli…
2016-08-30 10:43:24 -07:00
Scott Lovegrove f7f9ce2b9f Merge pull request #105 from NattyNarwhal/mailcode-delete
get rid of mail code too
2016-07-31 13:39:40 +01:00
Michael Grünwaldt cb3d23013e #441 added homepage link to the about screen 2016-07-04 15:17:15 +02:00
Michael Grünwaldt cad97f8a89 packages.config updated. Microsoft.bcl.* was missing 2016-07-04 15:16:09 +02:00
David Gardiner 10a55d6e33 Only create Blogger json file if necessary
Add dependency checking

Avoid unnecessary rebuilding of marketization files
2016-04-14 22:35:05 +09:30
Avner Shahar-Kashtan 5db952bba2 Merge remote-tracking branch 'refs/remotes/upstream/master' 2016-04-06 15:24:05 +03:00
Avner Shahar-Kashtan c56c11b495 More test cases, simplified regex. 2016-04-05 00:44:20 +03:00
Avner Shahar-Kashtan 0112d7ac44 Fixed WordCounter regex to support Hebrew/Arabic. 2016-04-04 23:52:13 +03:00
Nimesh Madhavan 9dc2ab3cc8 guard against CategoryArray being null 2016-03-24 20:23:44 +05:30
Scott Lovegrove 92b1391234 Merge pull request #411 from lextm/issue409
Fixed #409 by adding a default constructor to CommandBarControl.
2016-03-08 10:54:39 +00:00
Scott Lovegrove f779de2da6 Merge pull request #401 from flcdrg/PercentTables
Tables - Optional width and support percent width
2016-03-08 10:54:23 +00:00
Lex Li 95fee6e007 Fixed #409 by adding a default constructor to CommandBarControl. 2016-03-03 22:00:39 +08:00
Scott Lovegrove 2654f5c049 Merge pull request #406 from lextm/issue403
Fixed the missing <DependentUpon> tags in project files.
2016-03-01 16:13:18 +00:00
Lex Li 7154c0ac51 Update OpenLiveWriter.ApplicationFramework.csproj 2016-03-01 22:42:08 +08:00
Lex Li 2e9f220fca Fixed the missing <DependentUpon> tags in project files. 2016-03-01 21:57:38 +08:00
David Gardiner e50205fa13 Better constructors
Thanks @ScottIsAFool for suggestions

Rename method
2016-02-29 22:59:23 +10:30
David Gardiner 8798073e82 Address code review comments
* Capitalise Percent and Pixel enums and resource keys
* Remove commented code
* Rewrite PixelPercent constructors to use int.TryParse
* Rewrite PixelPercent.CanParse

Add tests for PixelPercent
2016-02-29 20:59:05 +10:30
David Gardiner a25c622726 Add unit tests for InsertTable
Using NUnit 3 and ApprovalTests
2016-02-28 22:07:39 +10:30
David Gardiner 926e8f4177 Add 'percent' label to resources 2016-02-28 09:19:39 +10:30
David Gardiner 9a0bc2e367 Extract designer code to Designer.cs files 2016-02-28 09:19:38 +10:30
David Gardiner 357f885b5e Table percent widths and no widths
Radio buttons for pixels and percent
2016-02-28 09:19:35 +10:30
Scott Lovegrove 266235baa9 Merge pull request #380 from kathweaver/ChangeWording#377
Resolve issue #377
2016-02-24 20:38:26 +00:00
Scott Lovegrove 173ca2985f Merge pull request #391 from NenoLoje/users/nenoloje/fix-publishpostdisplaybug
Fix for issue #388 to handle Mnemonics correctly.
2016-02-24 20:37:42 +00:00
NenoLoje dea5603bb6 Fix for issue #388 to handle Mnemonics correctly. 2016-02-20 20:33:18 +00:00
NenoLoje 72a0d7db16 Using case-insensitive version of String.IndexOf instead of String.StartsWith to filter categories list. 2016-02-20 20:13:37 +00:00
kathweaver b0223e2e8e Resolve issue #377
Changed wording on option to reflect what actually happens
2016-02-19 14:27:59 -06:00
Scott Lovegrove 641cb46602 Merge pull request #117 from poppastring/users/poppastring/blogpostfolder
Made the "Drafts and Posts folder" configurable via the options page.…
2016-02-19 16:33:07 +00:00
Will Duff e53b05bfea Merge pull request #358 from willduff/issue262
Issue #224 - Google Blogger scheduled post is scheduled at the wrong time
2016-02-13 15:06:33 -06:00
Mark Downie 09d2e0ecee Merge to a folder with existing wpost files
This allows for copying files to a new folder where the file name
matches. This update will create a new file name as follows:
"test.wpost"
becomes...
test_Copy.wpost"
2016-02-11 23:46:28 -05:00
Mark Downie 925f225661 Merge remote-tracking branch 'refs/remotes/OpenLiveWriter/master' into users/poppastring/blogpostfolder 2016-02-11 18:59:30 -05:00
Will Duff 49dd8a6dd3 Support loading more than 500 Google Blogger posts
The Google Blogger v3 API has a limit to return only 500 items per
request. Each Blogger response returns a `NextPageToken` to get the next
500 items, so I added support to loop and download all posts and pages,
or stop early at a given maximum. You can see this by going to *File* >
*Open recent post* and then selecting a Google Blogger blog.
2016-02-09 22:19:20 -08:00
Mark Downie d38b8fcf3c JumpList refresh
Ensure that the jump list is refreshed when you hit save based on the
new folder location.
2016-02-10 00:03:39 -05:00
Will Duff 8c4a816b39 Show drafts and scheduled posts and pages for Google Blogger
We weren't including the correct API parameters to request drafts and
scheduled posts from Google Blogger. When getting the list of posts and
pages, we need to do 2-3 requests with different parameters and combine
the results. For getting individual posts and pages, we had to specify
view permissions in the request.
2016-02-08 23:58:28 -08:00
Scott Lovegrove bab8675910 Merge pull request #252 from jannavarro/master
Both the controller and postPropertiesForm needs to know that changes…
2016-02-07 17:39:07 +00:00
Will Duff b95317bf2d Use local time instead of UTC time 2016-02-06 17:03:40 -08:00
Mark Downie bb1b84f549 Updated to avoid invalid cast exception thrown. 2016-01-31 18:12:13 -05:00
Mark Downie 2fa7c67263 List of recent updated posts was pointing to the old folder
The problem was that the list of files recently worked on was cached and
not based on the  new folder that was updated in option.

I was working on a more OO method but got tangled in a bunch of
reference issues.

I did find an existing  method for updating the list recent files it
does rely on the relationship between Forms, Controls and Parent
objects.
2016-01-31 15:40:01 -05:00
Scott Lovegrove 03668bc020 Open the folder browser where the current location is. 2016-01-24 12:58:16 +00:00
Scott Lovegrove f5633a88e4 Make sure that when the directory change happens, any open posts save to the correct location. 2016-01-24 12:55:44 +00:00
Scott Lovegrove 6b2d2a079b Merge branch 'master' into users/poppastring/blogpostfolder 2016-01-24 12:04:50 +00:00
Will Duff abbccecbc6 Merge pull request #234 from ScottIsAFool/Blogger-Categories 2016-01-22 08:31:36 -08:00
Will Duff 61612fbc2e Merge OpenLiveWriter/master 2016-01-22 08:21:44 -08:00
Scott Lovegrove 63370f9a16 Merge pull request #324 from ScottIsAFool/bug/323
Fix ArgumentNullException
2016-01-21 10:22:18 +00:00
Scott Lovegrove 5c83552e91 Fixed up some potential ArgumentNullExceptions 2016-01-20 22:27:27 +00:00
Scott Lovegrove 8825232d19 Fix ArgumentNullException 2016-01-20 22:19:11 +00:00
Scott Lovegrove 599eb052f0 Merge pull request #121 from hashhar/issue-103
Fix error #103 when inserting image from web
2016-01-17 11:37:39 +00:00
Will Duff ab5a5e6c4b Merge pull request #213 from bbowyersmyth/SpellChecker
Issue #130 - Add spell check feature back in OLW
2016-01-13 17:34:56 -08:00
Bruce Bowyer-Smyth 34124479f0 Address PR feedback 2016-01-13 18:03:54 +10:00
Ashhar Hasan 6a26a44d31 Fixes issue #103 with UX enhanced 2016-01-12 12:07:25 +05:30
Ashhar Hasan 73124dd91c Fixes #103. Tests done. Localization pending. 2016-01-12 12:07:25 +05:30
Ashhar Hasan 796b75a170 Fixes #103. Tests pending. 2016-01-12 12:07:25 +05:30
Ashhar Hasan 069fa99b9a Handle the UriFormatException. Needs a lot of improvement. 2016-01-12 12:07:25 +05:30
jannavarro 9440fd7245 Both the controller and postPropertiesForm needs to know that changes have been saved. 2015-12-28 19:27:32 +08:00
Julian M Bucknall f774702147 Fix issue with spaces in username
For reasons lost in time my username on my laptop has spaces. That means
%LocalAppData% will also have spaces. That means calls to exes in
LocalAppData must be quoted. The build.cmd batch file will fail without
such quoted exe names.
2015-12-23 17:27:29 -07:00
Scott Lovegrove 1eb48152f8 Load categories when editing a post 2015-12-23 19:13:14 +00:00
Scott Lovegrove cd938e62d5 Remove keywords, as not needed anymore 2015-12-23 17:00:23 +00:00
Scott Lovegrove 76d5d785ea Actually set the labels from categories 2015-12-23 16:58:31 +00:00
Scott Lovegrove 2435a48763 Update provider xml for multicategory support 2015-12-23 16:48:21 +00:00
Scott Lovegrove 1ea16ca4b1 Initial pull of blogger categories 2015-12-23 16:33:05 +00:00
Igal Tabachnik 9c36a30d40 Preventing making the document 'dirty' during initialization. This fixes #65 2015-12-23 14:49:32 +02:00
Bruce Bowyer-Smyth 52664e2928 Spell check wrapper added to AboutForm 2015-12-23 19:55:36 +10:00
Martin Woodward 59efc85f6b Merge pull request #220 from Gordon-Beeming/FixBase64ImageDownload
added code to not attempt to download base64 embeded images
2015-12-23 08:12:26 +00:00
Martin Woodward 445c4963da Merge pull request #212 from Gordon-Beeming/NullRefFix
Null ref fix
2015-12-22 21:33:53 +00:00
Scott Lovegrove d767189246 Revert method declaration change
Don't change code needlessly, naughty Scott
2015-12-22 20:48:59 +00:00
Scott Lovegrove 5ccb56d754 Make sure a null list isn't used. 2015-12-22 20:46:41 +00:00
Gordon Beeming 97fa46561b added code to not attempt to download base64 embeded images 2015-12-22 22:08:07 +02:00
Gordon Beeming cacddcea93 ctrl + K + D 2015-12-22 13:16:39 +02:00
Gordon Beeming 197eb32494 merged in root 2015-12-22 12:54:24 +02:00
Gordon Beeming 494c4295c3 Fixing a null reference exception I was getting when running OLW 2015-12-22 12:42:22 +02:00
Bruce Bowyer-Smyth 474494ddf3 Window platform spell checker 2015-12-22 20:27:17 +10:00
Bruce Bowyer-Smyth d16b3e3af6 Resurrect spelling project 2015-12-22 20:27:16 +10:00
Will Duff 3670728585 Merge pull request #200 from ScottIsAFool/Fix-MoveAdjacentToElement-Error
Issue #188 - Fix MoveAdjacentToElement Error
2015-12-22 00:41:37 -08:00
Scott Lovegrove 4269238c23 Remove original null check 2015-12-22 08:30:49 +00:00
Scott Lovegrove 561e7523a5 Double && 2015-12-22 08:22:39 +00:00
Scott Lovegrove 99eda4f734 Merge pull request #211 from willduff/issue26
Issue #26 - OLW won't open local drafts or published posts, throws an UnauthorizedAccessException
2015-12-22 08:19:55 +00:00
Will Duff c29d9fb2a8 Merge pull request #210 from willduff/google-blogger
Issue #170 - The remote server returned an error: (403) Forbidden.
2015-12-22 00:19:49 -08:00
Scott Lovegrove e9d3b65731 Add additional null check 2015-12-22 08:08:40 +00:00
Will Duff 9664d6646c Merge pull request #194 from demortes/master
Issue #66 - Fix MultiSite Wordpress over SSL
2015-12-21 23:57:27 -08:00
Will Duff dcc5d6bbfb Creating a FileStream over a directory doesn't work very well
The root cause here is that we accidentally made a breaking change when
we removed the spell checking logic. We changed the
CONTEXT_DICTIONARY_FILE constant from "context.tlx" to string.Empty.
That means in the WriteSpellingContextDictionary() and
ReadSpellingContextDictionary() methods, we were resolving a dictionary
path as Path.Combine(SpellingContextDirectory, string.Empty); and then
tried to create a FileStream on a directory. The fix here is simple,
just change the dictionary filename back to "context.tlx".
2015-12-21 22:40:22 -08:00
Will Duff 24f180d268 Guard against HTTP 403 error code when calling Picasa API directly
The OAuth access token expires quickly (every hour) and we get an HTTP
403 error code when we attempt to call a Picasa API with an expired
access token. The BloggerService class provided by the Google API Client
library for .NET takes care of automatically refreshing the access token
when calling the Blogger API. This is not true of our Picasa
integration, which features direct HTTP requests to the Picasa API
endpoint, so I've added code to catch the HTTP 403 error code and force
refresh the access token.
2015-12-21 20:54:22 -08:00
Mark Downie 6867a092bd Changed to a move operation (rather than a copy). 2015-12-21 22:41:08 -05:00
Mark Downie 244529c105 Correct exception when you hit apply.
Give the use the option to move any existing draft posts to the new folder location.
2015-12-21 22:39:47 -05:00
Scott Lovegrove a3130d5b71 Added a null check before calling 2015-12-21 00:07:04 +00:00
Scott Lovegrove f670c3a20d Register for WeblogListChanged event 2015-12-21 00:03:47 +00:00
Kevin Dethlefs 7a0976d3f8 Fixed peer-reveiewed comments, such as:
in GetUserBlogs(), I had a return statement on the inner loop, not after
all blogs were added to list.
Verified that the proper XML RPC URL was saved, so as to not confuse
blogs using the same multisite installation.
Adjusted the exception thrown to mark the proper call method.
2015-12-20 17:15:59 -06:00
Kevin Dethlefs 5a7ba1d8f3 Overridden the GetUsersBlogs() function to support MultiSite Wordpress. Calling XML RPC wp.getUsersBlogs instead of blogger.getUsersBlogs, which seems to return an empty XML set, causing multisite to cause issues with Open Live Writer. 2015-12-20 05:21:43 -06:00
Martin Woodward 1bbd48e17c Merge pull request #167 from martinwoodward/roundtrip-blogger-labels
Roundtrip Blogger labels
2015-12-18 22:16:26 +00:00
vhanla e4f7180eb1 Detect X-UA-Compatible or add it at runtime to template to support CSS3 2015-12-18 15:10:33 -05:00
vhanla e2666576b6 Added CSS3 REM support 2015-12-18 13:45:26 -05:00
Martin Woodward 3951206cd7 Merge pull request #68 from lucaslra/TabOrderAdjustment
SharePoint Connection Tab Index Adjustment
2015-12-17 21:12:21 +00:00
Martin Woodward 5ae1794366 Roundtrip labels 2015-12-17 17:39:26 +00:00
Martin Woodward d942d0aee5 Enable creation of blogger labels 2015-12-17 16:52:09 +00:00
Martin Woodward 32a76232f7 Add split post capability 2015-12-17 15:57:50 +00:00
Martin Woodward 96b67a4063 Merge pull request #75 from gep13/ChocolateyPackage
Adding basic creation of Chocolatey Package
2015-12-17 09:40:37 +00:00
Will Duff 8ec483ca9f Move Google Blogger OAuth token storage to %appdata%
Squirrel is blowing away the entire %localappdata%\OpenLiveWriter folder
each upgrade, so to avoid OAuth tokens being lost on each upgrade we put
them over in %appdata%\OpenLiveWriter instead.
2015-12-16 09:06:29 -08:00
Will Duff 1a963eaf0a Move creation of GoogleBloggerv3Secrets.json into writer.build.targets
There was an issue around the first time the project built, the JSON
file was not getting included into the project because it hadn't been
generated yet. Moving the creation of the JSON file into a centralized
writer.build.targets fixed this.
2015-12-16 08:53:29 -08:00
Will Duff 24c97bbb4a Merge branch 'master' into google-blogger 2015-12-16 08:39:44 -08:00
Will Duff 29393f94eb Update installer to package dependent DLLs
Need to package the Google Blogger API DLLs and all their dependencies
into the package. Also removed an unused OpenLiveWriter.exe.config.
2015-12-16 01:47:06 -08:00
Will Duff 4308b18bb0 Add support for uploading images to Picasa
Most of the Picasa code was forked from BloggerAtomClient
2015-12-16 00:00:26 -08:00
Will Duff e9116e2ef3 Add credits for Google Blogger package dependencies in About Form 2015-12-15 20:49:31 -08:00
Will Duff 13a7ad751d Implement support for Pages and stub out unsupported blog client methods
For the unsupported features, I used the same return values that
LiveJournal client uses.
2015-12-15 20:35:14 -08:00
Will Duff 950d360894 Implement SendAuthenticatedHttpRequest for Google Blogger 2015-12-15 16:54:28 -08:00
Martin Woodward c22d2280f4 Merge pull request #90 from shiftkey/rename-installer
rename the installer file to be more descriptive
2015-12-15 23:13:48 +00:00
Will Duff b06cad185d Implement DeletePost for Google Blogger 2015-12-15 08:13:54 -08:00
Will Duff 6894259edd Implement GetPost for Google Blogger 2015-12-15 08:02:30 -08:00
Will Duff f0fe702212 Implement EditPost for Google Blogger 2015-12-15 07:50:55 -08:00
Will Duff e4988f1690 Implement NewPost and GetRecentPosts for Google Blogger
With these changes, Google Blogger users can successfully connect to a
Google Blogger blog, post a simple text-only post, and view their recent
posts.
2015-12-14 22:34:46 -08:00
Will Duff 5919cd1b31 Implement OAuth token re-authorization
Override the BlogClientBase.Login method with an OAuth2 login flow.
2015-12-14 20:29:11 -08:00
Martin Woodward d779d17238 Set default for Beta channel to be false 2015-12-14 17:03:45 +00:00
Martin Woodward 88f678c1a0 Remove some temp logic for update settings 2015-12-14 16:56:32 +00:00
Martin Woodward b6fb2b8013 Update Beta channel to ignore CDN 2015-12-14 16:51:28 +00:00
Will Duff 436f2a121b Add Google Blogger v3 Client
The Google Blogger v3 API doesn't use the Atom protocol, so I added a
new Google Blogger v3 client to handle the connection instead. I updated
the Google Blogger detector to use the new OAuth APIs when attempting to
detect a Google Blogger blog. I also had to change some logic around for
homepage URLs. The main difference in the Google Blogger flow is that
the homepage URL isn't known until after the credentials are authorized.
All other blogs require the user to type in the homepage URL manually
before authorization happens, so I had to change some logic for this to
work properly.
2015-12-14 01:08:58 -08:00
Will Duff 5fbc9ab8c0 Improve Google Blogger authentication flow
The 'Sign in' button now automatically disables itself and changes text
dynamically to help make sure users know when they need to click it,
made the authentication panel automatically click the 'Next' button on
behalf of the user when it detects valid user credentials. I also
changed the FileDataStore to store one OAuth2 token per blog rather than
create a new folder per blog.
2015-12-13 19:55:58 -08:00
Mark Downie cc39ee295e Folder Dialogue box fix
Folder dialogue fix, you now should be able to pick any folder on your
PC.
Improved formatting on the options page,
2015-12-13 22:03:26 -05:00