Skip to content

Commit

Permalink
Merge pull request #125 from kmwallio/beta
Browse files Browse the repository at this point in the history
Small Improvements
  • Loading branch information
kmwallio authored Mar 14, 2021
2 parents 174939c + 6e3afd9 commit 213f2fa
Show file tree
Hide file tree
Showing 49 changed files with 2,216 additions and 812 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ yay -S thiefmd
* Sheet Management
* Shortcut key bindings
* Themes
* Export (DocX, ePUB, PDF, HTML, Markdown, [WriteFreely](https://thiefmd.com/tips/blogging-with-writefreely), [Ghost](https://thiefmd.com/tips/blogging-with-ghost), Wordpress, and more...)
* Export (DocX, ePUB, PDF, HTML, Markdown, [WriteFreely](https://thiefmd.com/tips/blogging-with-writefreely), [Ghost](https://thiefmd.com/tips/blogging-with-ghost), [WordPress](https://wordpress.org), and more...)
* Import (DocX, ePUB, HTML, rst, textile, and more...)
* Search `Ctrl+F` for the current file, and `Ctrl+Shift+F` for the *entire* library
* Writing Statistics
Expand All @@ -49,11 +49,14 @@ yay -S thiefmd

* French Translation by [David Bosman](https://github.com/davidbosman)
* Slovak Translation by [Marek L'ach](https://github.com/marek-lach)
* Swedish Translation by [Åke Engelbrektson](https://github.com/eson57)

## Planning

* Better library organization
* Dedicated Markdown Editor
* Enhanced Export Tooling
* Screenwriting Support
* Project Notes

## Resources

Expand Down
7 changes: 6 additions & 1 deletion com.github.kmwallio.thiefmd.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: com.github.kmwallio.thiefmd
Version: 0.1.6
Version: 0.1.7
Release: 1%{?dist}
Summary: The markdown editor worth stealing.
License: GPL-3.0+
Expand Down Expand Up @@ -318,11 +318,16 @@ rm -vf %{buildroot}%{_libdir}/libultheme.a
/usr/share/locale/es/LC_MESSAGES/com.github.kmwallio.thiefmd.mo
/usr/share/locale/fr/LC_MESSAGES/com.github.kmwallio.thiefmd.mo
/usr/share/locale/sk/LC_MESSAGES/com.github.kmwallio.thiefmd.mo
/usr/share/locale/sv/LC_MESSAGES/com.github.kmwallio.thiefmd.mo

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%changelog
* Sun Mar 13 2021 kmwallio <mwallio@gmail.com> - 0.1.7
- Snap.as image upload support
- WordPress featured image support
- Performance improvements for experimental mode
* Fri Mar 05 2021 kmwallio <mwallio@gmail.com> - 0.1.6
- Wordpress Export is now available, just add a Connection
- Recessed headers
Expand Down
20 changes: 17 additions & 3 deletions data/com.github.kmwallio.thiefmd.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
<summary>The markdown editor worth stealing.</summary>
<description>
<p>Keep your Markdown managed. Write epic tales, a novel, keep a journal, or finally write that book report.</p>
<p>ThiefMD is a Markdown Editor providing an easy way to organize, format, and compile your markdown documents. When you're ready to Publish, go to ePub, PDF, Office, Ghost, Wordpress, Write-Freely, or more.</p>
<p>ThiefMD is a Markdown Editor providing an easy way to organize, format, and compile your markdown documents. When you're ready to Publish, go to ePub, PDF, Office, Ghost, WordPress, Write-Freely, or more.</p>
<p>Import from and Export to Office, ePUB, HTML, and more. ThiefMD is your one stop shop for making and managing markdown mischief.</p>
</description>
<developer_name>kmwallio</developer_name>
<url type="homepage">https://thiefmd.com</url>
<url type="bugtracker">https://github.com/kmwallio/thiefmd/issues</url>
<url type="help">https://thiefmd.com/deets</url>
<url type="donation">https://github.com/sponsors/kmwallio</url>
<content_rating type="oars-1.1">
<content_attribute id="language-humor">mild</content_attribute>
</content_rating>
Expand Down Expand Up @@ -53,11 +54,24 @@
</screenshot>
</screenshots>
<releases>
<release version="0.1.7" date="2021-03-13" urgency="low">
<description>
<p>The subtle update.</p>
<ul>
<li>New Translations available: French, Slovak, and Swedish</li>
<li>Snap.as image upload support</li>
<li>WordPress featured image support</li>
<li>Performance improvements for experimental mode</li>
<li>Small UI bug fixes and PDF export fixes</li>
</ul>
</description>
<url>https://github.com/kmwallio/ThiefMD/releases/tag/v0.1.7-subtle</url>
</release>
<release version="0.1.6" date="2021-03-05" urgency="low">
<description>
<p>Finess and Wordpress</p>
<p>Finess and WordPress</p>
<ul>
<li>Wordpress Export is now available, just add a Connection</li>
<li>WordPress Export is now available, just add a Connection</li>
<li>Recessed headers don't just look great, they help you visually identify important parts of your document</li>
<li>Small tweaks and improvements have been made to speed up the UI</li>
<li>New Experimental Mode for hiding links in the markdown editor</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/_deets/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ title: Details
* LaTeX
* [WriteFreely](https://writefreely.org)
* [Ghost](https://ghost.org)
* [Wordpress](https://wordpress.org)
* [WordPress](https://wordpress.org)
* Import (Drag File onto Folder in Library)
* [Office Open XML](https://en.wikipedia.org/wiki/Office_Open_XML) - file.docx
* [OpenDocument](https://en.wikipedia.org/wiki/OpenDocument) - file.odt
Expand Down
13 changes: 11 additions & 2 deletions docs/_help/wordpress.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
title: Help with Wordpress
title: Help with WordPress
---

## Unable to Connect
Expand All @@ -9,7 +9,7 @@ Double check your username, password, and provided endpoint. If you didn't provi

### Check for /xmlrpc.php

ThiefMD communicates with Wordpress through [XML-RPC](https://codex.wordpress.org/XML-RPC_Support).
ThiefMD communicates with WordPress through [XML-RPC](https://codex.wordpress.org/XML-RPC_Support).

Certain plug-ins may disable XML-RPC, and some automated installations remove the file.

Expand All @@ -27,6 +27,15 @@ Disabling mod\_security can open up your site to DDoS attacks, SQL Injections, B

Disabling mod\_security may improve XML-RPC reliability. mod\_security limits the amount of data being sent though XML-RPC. Disabling it can allow for larger photo uploads.

### Disable block-xmlrpc on Digital Ocean

The [WordPress Marketplace Installer](https://marketplace.digitalocean.com/apps/wordpress) disabled XML-RPC by default. To enable XML-RPC in your Droplet:

```bash
a2disconf block-xmlrpc
systemctl reload apache2
```

### Other issue?

Please check your error and access logs.
Expand Down
3 changes: 2 additions & 1 deletion docs/_posts/.thiefsheets
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"sheet-order" : [
"2021-03-13-stability-and-improvements.md",
"2020-10-31-blogging-the-next-generation.md",
"2020-10-17-improved-search-and-fixes.md",
"2020-10-15-export-enhanced.md",
Expand All @@ -10,8 +11,8 @@
"2020-09-17-share-your-great-work.md",
"2020-09-13-library-organization-and-export-take-2.md",
"2020-09-08-all-the-themes.md",
"2020-09-02-september-release.md",
"2020-09-02-preview-polish.md",
"2020-09-02-september-release.md",
"2020-08-30-hello-thiefmd.md"
],
"hidden-folders" : [],
Expand Down
48 changes: 48 additions & 0 deletions docs/_posts/2021-03-13-stability-and-improvements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
layout: post
title: Stability And Improvements
date: 2021-03-13 13:03:35
---
[WordPress](https://wordpress.org) got a huge update with [Featured Image](https://wordpress.com/support/featured-images/).
In the YAML, just add `cover-image` or `featured-image` to the frontmatter.

```yaml
---
title: My Fancy Blogpost
featured-image: /images/my-featured-image.jpeg
---
```

Publishing to [Write.as](https://write.as) and have a Pro Account? [Snap.as](https://snap.as) image uploading is now supported.

## New Translations

Did you know [Poeditor](https://poeditor.com/join/project?hash=iQkE5oTIOV) can be used to help translate ThiefMD? People have been submitting translations:

* French Translation by [David Bosman](https://github.com/davidbosman)
* Slovak Translation by [Marek L'ach](https://github.com/marek-lach)
* Swedish Translation by [Åke Engelbrektson](https://github.com/eson57)

Thanks to everyone contributing!

## UI Accessibility

We've added borders to sheets in the sidebar when using the OS Theme.

## Stability Improvements

We've improved how heading margins are calculated, which means... we've relaxed font selection. You're still only limited to the family, but more should appear in the selector.

We've lowered the chances of crashing in experimental mode. When selecting text with experimental mode, bold links will become normal font as [invisible text can cause a crash if formatted differently from surrounding text](https://stackoverflow.com/a/59314509).

We made Experimental Mode Faster! We now check your proximity to hidden URLs instead of always scanning the whole document.

## Bug Fixes

Fixed and issue where PDF export tried using non-PDF themes.

More advanced Regex highlighting. Reference Links next to In-line links should look good in most cases.

## More to come...

We're still working on Tagging and Categories for WordPress and Ghost. Checkout the [ThiefMD Project Board](https://github.com/kmwallio/ThiefMD/projects) to see what we have planned, and let us know how we can empower you to do more!
2 changes: 1 addition & 1 deletion docs/_tips/blogging-with-writefreely.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ thieftags: #blogging

Already have a [WriteFreely](https://writefreely.org) or [Write.as](https://write.as) blog? ThiefMD can publish to them!

Please note, automated image upload is not supported. Check out [Snap.as](https://snap.as) as a convenient way to upload and share your photos.
Please note [Snap.as](https://snap.as) image uploading will only work for [Write.as Pro Users](https://write.as/pro).

## Adding a Connection ❤

Expand Down
2 changes: 1 addition & 1 deletion docs/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ title: About

It is my primary way of attempting to learn [Vala](https://wiki.gnome.org/Projects/Vala) and filling in the gap of applications I miss from [macOS](https://apple.com).

ThiefMD aims to make large [Markdown](https://daringfireball.net/projects/markdown/syntax) projects manageable. I've always wanted to write a novel, and thehopefully ThiefMD will help me get there.
ThiefMD aims to make large [Markdown](https://daringfireball.net/projects/markdown/syntax) projects manageable. I've always wanted to write a novel, and hopefully ThiefMD will help me get there.

# Features

Expand Down
2 changes: 1 addition & 1 deletion docs/help/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Feel free to reach out through [GitHub Issues](https://github.com/kmwallio/Thief

* [Ghost](/help/ghost)
* [Write Freely](/help/write-freely)
* [Wordpress](/help/wordpress)
* [WordPress](/help/wordpress)

### Exporting

Expand Down
Binary file removed docs/images/thief_styles.png
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Manage your <span class="pun">**\*\*mark\*\***</span> without any <span class="n
✅ Typewriter Scrolling
✅ Full Screen Editing
✅ Focus Mode
✅ Multiple Export Formats: PDF, ePub, docx, [WriteFreely](https://writefreely.org), [Ghost](https://ghost.org), [Wordpress](https://wordpress.org), and more
✅ Multiple Export Formats: PDF, ePub, docx, [WriteFreely](https://writefreely.org), [Ghost](https://ghost.org), [WordPress](https://wordpress.org), and more
✅ Multiple Import Formats: ePub, docx, HTML, and more

If anything goes wrong, it's probably because we implemented it wrong. We're not liable for lost files or damage to your machine!
Expand Down
56 changes: 51 additions & 5 deletions docs/lang-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ for i, name in enumerate(friends):
print ("iteration {iteration} is {name}".format(iteration=i, name=name))
```

# Nim

```nim
# Thanks to Nim's 'iterator' and 'yield' constructs,
# iterators are as easy to write as ordinary
# functions. They are compiled to inline loops.
iterator oddNumbers[Idx, T](a: array[Idx, T]): T =
for x in a:
if x mod 2 == 1:
yield x
for odd in oddNumbers([3, 6, 9, 12, 15, 18]):
echo odd
```

# JavaScript

```js
Expand All @@ -19,6 +34,13 @@ $(document).ready(function(){
});
```

# TypeScript

```ts
let message: string = 'Hello World';
console.log(message);
```

# Rust

```rust
Expand Down Expand Up @@ -60,6 +82,16 @@ public class MyClass {
}
```

# Scala

```scala
object Hello {
def main(args: Array[String]) = {
println("Hello, world")
}
}
```

# Vala

```vala
Expand All @@ -82,6 +114,19 @@ public class MyClass {
}
```

# C#

```csharp
private void singToMe () {
string songLyrics = "You say goodbye, and I say hello";
Console.WriteLine(songLyrics.StartsWith("You"));
Console.WriteLine(songLyrics.StartsWith("goodbye"));

Console.WriteLine(songLyrics.EndsWith("hello"));
Console.WriteLine(songLyrics.EndsWith("goodbye"));
}
```

# R

```r
Expand Down Expand Up @@ -160,15 +205,16 @@ puts "sample() method form : #{c.sample(3)}\n\n"

```perl
#!/usr/bin/perl
#
# The traditional first program.

# Strict and warnings are recommended.
use strict;
use warnings;

# Print a message.
print "Hello, World!\n";
sub Hello {
print "Hello, World!\n";
}

# Function call
Hello();
```

# PHP
Expand Down
4 changes: 2 additions & 2 deletions docs/opensource/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ buffer.changed.connect (() => {

[Ghost-vala](https://github.com/ThiefMD/ghost-vala) is a simple library for publishing posts to [ghost](https://ghost.org) blogs.

## Wordpress-vala
## WordPress-vala

[Wordpress-vala](https://github.com/ThiefMD/wordpress-vala) is a simple library for publishing posts to [Wordpress](https://wordpress.org) blogs. It contains some workarounds and retries for some common issues.
[WordPress-vala](https://github.com/ThiefMD/wordpress-vala) is a simple library for publishing posts to [WordPress](https://wordpress.org) blogs. It contains some workarounds and retries for some common issues.

## Theme Generator

Expand Down
7 changes: 3 additions & 4 deletions flatpak/com.github.kmwallio.thiefmd.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,12 @@
],
"buildsystem": "simple",
"build-commands": [
"mv -v bin/pandoc /app/bin/pandoc",
"mv -v bin/pandoc-citeproc /app/bin/pandoc-citeproc"
"mv -v bin/pandoc /app/bin/pandoc"
],
"sources": [{
"type": "archive",
"url": "https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-linux-amd64.tar.gz",
"sha256": "a3ab481ad53f5568d7ec5263fbdd3478fb320d13b5d61a92fb5cee410186bd86"
"url": "https://github.com/jgm/pandoc/releases/download/2.11.4/pandoc-2.11.4-linux-amd64.tar.gz",
"sha256": "b15ce6009ab833fb51fc472bf8bb9683cd2bd7f8ac948f3ddeb6b8f9a366d69a"
}]
},
"shared-modules/libsecret/libsecret.json",
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Name our project
project('com.github.kmwallio.thiefmd', ['vala', 'c'],
version: '0.1.6'
version: '0.1.7'
)

# Application ID
Expand Down
3 changes: 2 additions & 1 deletion po/LINGUAS
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
en_GB
es
fr
sk
sk
sv
Loading

0 comments on commit 213f2fa

Please sign in to comment.