hiromi-mi
c5f3729636
Support Posting Unlisted/Followers-only Question
...
Though I chose Unlisted or Followers-only when posting question, the question are sent to public.
This is probably because api_new_question() in blueprints/api.py does not look up visibility api argument.
Tihs patch fixes by adding visibility argument check at api_new_question().
2020-05-27 19:46:44 +09:00
Thomas Sileo
ed12d8fa01
Merge pull request #75 from fabrixxm/fix/73
...
Fix uploading attachments
2020-03-27 12:26:44 +01:00
Fabio
f6c1d72199
Fix uploading attachments
...
this should fix #72
2020-03-27 11:43:24 +01:00
Thomas Sileo
3cf5150af8
Merge pull request #72 from hiromi-mi/fix_local_actor_cache
...
Create config/local_actor_hash if not exists
2020-02-27 21:48:58 +01:00
hiromi-mi
ba95d6bdf9
Create config/local_actor_hash if not exists
...
After I change my profile in `config/me.yml` and start microblog.pub
again, remote instances is not sometimes be updated the profile.
This is probably because `config/local_actor_hash` is not created, and
`is_actor_updated()` always returns `False`.
2020-02-28 01:17:54 +09:00
Thomas Sileo
fa9edb8fda
Remove hard-coded email address from the feed. Fix #62
...
The email address is optional and I don't think adding it is worth
the complexity.
2020-02-02 12:38:16 +01:00
Thomas Sileo
8f0e167e43
Fix formatting
2020-01-26 12:37:24 +01:00
Thomas Sileo
f2f541c15c
Bootstrap EmojiReaction support
2020-01-26 12:35:03 +01:00
Thomas Sileo
c0c1a55eeb
Re enable Mypy in CI
2020-01-26 12:34:44 +01:00
Thomas Sileo
0ae0310f5f
Tweak the README
2020-01-22 21:00:14 +01:00
Thomas Sileo
00810e61a4
Blacken files
2020-01-22 20:42:42 +01:00
Thomas Sileo
8c10cce409
Merge pull request #69 from fabrixxm/wip
...
Cleanup from @fabrixxm
2020-01-22 08:27:13 +01:00
Fabio
12940c2846
Document env vars
2020-01-10 14:13:04 +01:00
Fabio
173eb15af0
add run_dev script
2020-01-10 14:13:04 +01:00
Fabio
1ab60e399e
mime type in Link
s is set in mediaType
property
2020-01-10 14:13:04 +01:00
Fabio
a327f1f5d7
url_or_id
template filter don't return not str url
2020-01-10 14:13:04 +01:00
Fabio
1f2a8f6da7
add get_text
template filter
...
returns object's `content` or `name`, the first is set, or an empty
string.
some objects don't have `content`, don't let templates rely on it
2020-01-10 14:13:04 +01:00
Fabio
a71bf46af5
Don't overwrite objects 'url' property
2020-01-10 14:13:04 +01:00
Fabio
ef73b044f2
use yaml.safe_load()
...
`yaml.load()` is deprecated and insecure
2020-01-10 14:13:04 +01:00
Jonathan Jenne
657ab68355
check for latitude and longitude before accessing them ( #68 )
2019-12-22 17:53:28 +01:00
Thomas Sileo
3c4b9e7379
Move the Place activity to the location field (instead of a tag)
2019-11-06 22:40:51 +01:00
Thomas Sileo
9c12a67311
Tweak CSS for DMs admin section
2019-11-03 11:16:52 +01:00
Thomas Sileo
b1832bcec0
Fix/improve redirection in the UI
2019-11-03 10:29:32 +01:00
Thomas Sileo
3048de04e8
Fix the display sensitive button
2019-11-03 10:21:11 +01:00
Thomas Sileo
be0f5c04b2
Dedup inline attachments (when already inlined)
2019-11-03 09:59:04 +01:00
Thomas Sileo
08cdcd6b50
Fix unicode emojis display
2019-11-02 09:52:04 +01:00
Thomas Sileo
1227dd5236
Tweak the template filter for inline imgs
2019-11-01 16:19:59 +01:00
Thomas Sileo
6a40e7d7f2
Add support for inline images
2019-11-01 16:05:48 +01:00
Thomas Sileo
00b43fa935
still cache actor for note with buggy links
2019-11-01 12:45:36 +01:00
Thomas Sileo
6db28ac94d
Fix tasks retry
2019-11-01 12:39:08 +01:00
Thomas Sileo
f6ddb47fdf
Fix the fetch remote question task for delete ones
2019-11-01 12:33:40 +01:00
Thomas Sileo
99bf6a4a01
Fix for HubZilla actor caching
2019-11-01 12:15:42 +01:00
Thomas Sileo
7c4e6732c9
Tweak/fix the list template in the admin UI
2019-10-28 22:38:29 +01:00
Thomas Sileo
e611d61739
Add "location" support (embed a tag with a Place object)
2019-10-27 19:05:42 +01:00
Thomas Sileo
cf983ca9f3
Fix admin profile page
2019-10-27 15:06:50 +01:00
Thomas Sileo
42e66b2189
Fix lookup page
2019-10-27 15:06:12 +01:00
Thomas Sileo
96086a44a4
Fix IndieAuth authorization template
2019-10-27 14:56:08 +01:00
Thomas Sileo
c8012ee8f3
Fix/tweak DMs sections
2019-10-27 14:53:00 +01:00
Thomas Sileo
3998d4ed68
Micropub query configuration support
2019-10-27 14:49:57 +01:00
Thomas Sileo
ecada8480e
Add missing template for the new DMs section
2019-10-27 14:14:13 +01:00
Thomas Sileo
25d5ad2176
New admin section for direct messages (DMs)
2019-10-27 14:13:12 +01:00
Thomas Sileo
d3f9e72801
Fix reply content with mentions
2019-10-27 12:41:33 +01:00
Thomas Sileo
ba1bfe4943
More compact likes/boosts diplay on permalink page
2019-10-27 10:42:52 +01:00
Thomas Sileo
7a41c14167
Enable Flask permanent session for the admin sessions
2019-10-26 11:29:50 +02:00
Thomas Sileo
ce6a253178
Tweak README
2019-10-25 23:27:21 +02:00
Thomas Sileo
bf81fbb117
Add HTML support for Micropub
2019-10-25 23:02:50 +02:00
Thomas Sileo
126e5e8d59
Add basic Micropub support (only create support for now)
...
Fixes #11
2019-10-25 22:39:44 +02:00
Thomas Sileo
afa33b4e7c
Fix attachment display and tweak actor lookup
2019-10-22 20:32:12 +02:00
Thomas Sileo
bc7a8db640
Disable mypy until a regression in it is fixed
2019-10-20 20:58:56 +02:00
Thomas Sileo
95e411ac9b
Add support for manually approving followers
...
Fixes #61
2019-10-20 20:47:35 +02:00