Commit graph

298 commits

Author SHA1 Message Date
Ray
18f30c187a Update jot-header.tpl
add comments to a couple of functions
2023-02-15 16:36:17 -05:00
Ray
1af39f625b Update jot-header.tpl 2023-02-15 13:33:22 -05:00
Ray
1e43050ac8 add modal open function 2023-02-15 11:39:07 -05:00
Mike Macgirvin
eb0a773b1d not able to delete set_location 2023-01-11 05:53:00 +11:00
Mike Macgirvin
6e98093381 add moderation queue to notifications 2023-01-04 14:32:03 +11:00
Mike Macgirvin
8f47c94111 more js cleanup 2023-01-01 20:24:13 +11:00
Mike Macgirvin
2ef0d34d0c restructure 2023-01-01 19:13:37 +11:00
Mike Macgirvin
fbc365a044 Enable checkin/checkout buttons only when there are geo coordinates and check the button state on every location change. 2023-01-01 16:42:36 +11:00
Mike Macgirvin
5126156b80 finish checkout feature 2022-11-22 06:15:54 +11:00
Mike Macgirvin
8494d7ee21 whitespace 2022-11-17 05:51:58 +11:00
Mike Macgirvin
32d978b954 Testing and minor cleanup from preserving checkin status across edits. 2022-11-16 07:58:15 +11:00
Mike Macgirvin
316a8e8d1c preserve checkin status across edits 2022-11-16 07:16:26 +11:00
Mike Macgirvin
457657da13 location tagging stuff 2022-11-10 19:56:42 +11:00
Mike Macgirvin
46e07087dd first cut at check-in activities 2022-11-09 22:42:23 +11:00
Mike Macgirvin
0504102b33 geo 2022-09-16 20:57:04 +10:00
nobody
59c252dcd8 more AS attachment stuff 2022-04-21 14:46:21 -07:00
nobody
c41ad46045 sql issue "and and condition", js variable redeclaration, allow reset of profile photo date to also reset name date 2022-02-19 13:28:43 -08:00
nobody
63799fcbeb js variable scope 2022-02-17 17:38:12 -08:00
nobody
2c7616ade7 upgrade acl_selectors 2022-01-26 07:51:37 +11:00
nobody
e7ca478998 Merge branch 'dev' of /home/macgirvin/z into dev 2021-09-17 13:43:08 -07:00
nobody
e764dc78be fix modal() with empty args 2021-09-17 00:02:02 -07:00
nobody
112a3463c1 Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-13 18:46:54 -07:00
nobody
ef8978be6c issues with comment control 2021-04-13 18:12:15 -07:00
nobody
e38fb2de29 use multicode by default 2021-03-21 21:56:18 -07:00
nobody
a752db34c7 more work on comment control 2020-11-24 19:22:59 -08:00
nobody
7af12a1f7e per-post comment control: select comment allowed audience and comments_closed date 2020-11-23 19:14:44 -08:00
nobody
ad9cbd6876 comments 2020-11-17 16:33:06 -08:00
nobody
e2439aff52 auto preview when dragon drop openstreetmap geo: link 2020-09-25 03:24:51 -07:00
nobody
2b1a1832a6 re-order protocols for item fetch, resolve double upload dragon drop issue 2020-09-24 19:30:07 -07:00
nobody
8531810ee5 turn off dragon drop on post editor until duplicate upload issue can be investigated/resolved. New app: Markup which provides the bold, italic, etc. editor buttons and removes them by default for less clutter 2020-09-23 17:59:09 -07:00
zotlabs
01bcd030e5 use browser location if the location is "." 2020-05-10 22:02:44 -07:00
zotlabs
76a5971bb0 personal site blocks 2020-04-17 04:08:04 -07:00
zotlabs
883c5bbfed performance, reverse the no-comment icon state 2020-03-25 13:05:56 -07:00
zotlabs
72601039d2 move superblock to core 2020-03-19 21:08:50 -07:00
Mario
72bdd7963f implement poll UI in jot 2020-02-27 05:48:28 +01:00
zotlabs
a55a92a970 issues with duplicated links 2019-05-29 19:55:29 -07:00
zotlabs
6858ab5741 cleanup, link modal issue 2019-05-23 16:37:56 -07:00
zotlabs
fe1517022c port calendar merge from hz 2019-05-12 18:20:37 -07:00
zotlabs
79f5866137 fix suggestion ordering 2019-04-30 23:18:39 -07:00
zotlabs
c17c7a76a3 bring back the oembed toggle 2019-04-16 17:44:42 -07:00
zotlabs
aaff7c54cf jotgetlink modal 2019-03-26 17:01:55 -07:00
zotlabs
823a5b0c3a reduce assumption of default php upload limit to 2M 2019-03-05 15:22:43 -08:00
zotlabs
4bc9620597 expose setting to block public search 2019-02-07 21:05:42 -08:00
zotlabs
6fd5bb36fb implement old-style share as a post embed 2019-01-29 21:34:26 -08:00
zotlabs
8f861659d2 post embed 2019-01-29 21:26:52 -08:00
zotlabs
8ffbf543c4 upstream fixes 2018-12-15 14:03:20 -08:00
Mike Macgirvin
441b65c030 mv blueimp library to composer, remove duplicate copy in library 2018-10-23 11:00:33 +11:00
zotlabs
f1ed64efe4 fixes 2018-09-23 17:03:10 -07:00
zotlabs
931e0b5445 changes to sharing 2018-09-02 20:16:04 -07:00
zotlabs
64196dd2a7 article summaries and some other stuff 2018-08-15 18:56:18 -07:00
zotlabs
a9c3af298b prep work for converting mail 2018-07-30 23:55:09 -07:00
Mario Vavti
f6de91bf0f prevent double file uploads when dropping files into jot 2018-07-20 16:44:43 +02:00
Mario Vavti
c72f6e6ea8 fix jot drag and drop 2018-07-20 10:42:16 +02:00
Mario Vavti
5a475453ab fix js error with catalan language (unescaped strings) 2018-05-27 12:20:07 +02:00
Mario Vavti
a256195767 remove preview on jot reset 2018-05-20 12:30:08 +02:00
Mario Vavti
6d7e364a0d remove some cruft from initEditor(); 2018-05-20 11:02:18 +02:00
Mario Vavti
7e99931733 implement jot reset button 2018-05-20 09:23:44 +02:00
zotlabs
5dae0ef4f9 add cancel button to editor, fix issue with autosave of categories 2018-05-10 20:54:48 -07:00
zotlabs
4409b2b40a don't load jot autosave content into other document types or edits of other items, but do save these edits in case you need to recover them 2018-04-25 21:32:34 -07:00
Mario Vavti
e294dfa760 wrong function 2018-04-11 08:17:30 +02:00
Mario Vavti
a2cb7b9ca4 do not get or set post category if the field is not available. remove logging. 2018-04-10 11:37:57 +02:00
Mario Vavti
91aeb25523 fix autosave content not cleaned after post submission 2018-04-10 11:17:20 +02:00
Andrew Manning
f9ec3c66ff Added feature setting for auto-save, defaulting to enabled. 2018-04-08 19:44:21 -04:00
Andrew Manning
43cafcc761 Auto-save post and comment entry using localStorage in browser. 2018-04-08 14:18:10 -04:00
zotlabs
04ec35d9cc hubzilla issue #979 - alter image selection widget to accept/submit on choose (jot, wiki, cover_photo, profile_photo) 2018-02-25 19:25:00 -08:00
zotlabs
9bf83a57bd don't show jot bb-edit buttons if a mimetype other than text/bbcode is selected (:todo: also disable bbcode autocomplete) 2018-01-29 18:43:20 -08:00
Mario Vavti
6f21b3dc34 fix nav update regressions - fixes issue #950 2018-01-04 11:31:48 +01:00
Mario Vavti
ea5262a0df get rid of spinner.js in use a lightweight css spinner instead 2017-09-26 13:02:11 +02:00
zotlabs
45eb61bcf0 provide sharing of cards 2017-09-05 18:32:37 -07:00
zotlabs
ca11d7b9a7 support upload of files and attachments into comments. This has some repercussions when it comes to post permissions since the commenter will not know the distribution of the post. Basically the files will be uploaded with the commenter's default ACL. Most of the time this will do the right thing. 2017-08-08 22:55:47 -07:00
zotlabs
01526a9a79 add auto post preview to 'select photo from albums' 2017-08-01 19:02:42 -07:00
zotlabs
a97b09210e auto preview when inserting a media item or embed into a post. Since this unanticipated action could be alarming (some might think the post was actually submitted), also provide a visible preview indicator within the previewed content. Remove the css for the old striped background image which hasn't been available for previewed content for a year or two. 2017-08-01 18:05:04 -07:00
zotlabs
c940d8d7ca implement chunked uploads on the wall; making it work painlessly on /cloud was attempted but will not be implemented today. That presents some interesting dragons to slay. 2017-07-13 17:04:58 -07:00
zotlabs
80ec92ce8d Revert "move theme specific files to theme dir"
This reverts commit e332d1074f.
2017-05-02 12:46:50 -07:00
zotlabs
e332d1074f move theme specific files to theme dir 2017-05-01 21:10:04 -07:00
Mario Vavti
0f0fba0e9e missing includes 2017-04-13 23:20:09 +02:00
Mario Vavti
3a7db8ec60 fix embed image modals 2017-03-22 13:15:53 +01:00
Mario Vavti
2556d05602 bs4 fixes 2017-03-18 17:28:46 +01:00
Mario Vavti
d10525a375 fix item_list and item_search templates. make item filer use a bootdtrap modal and some css and class fixes 2017-03-17 14:22:10 +01:00
Mario Vavti
2fc47cc52b fix embedimage if an albumname contains quotes 2017-01-11 10:59:46 +01:00
Mario Vavti
9279840860 fix https://zothub.de/display/9d9078d212862c5f58 2016-10-30 13:34:47 +01:00
redmatrix
1639f5b83d add links to zcards #500 ; also provide drag/drop highlighting of comment regions when a link is being dragged over them 2016-09-05 17:08:48 -07:00
redmatrix
7fc254a81c Use double quotes for strings passed via templates to javascript. Some translated strings have unescaped single quotes. 2016-08-15 17:18:42 -07:00
Andrew Manning
cb9ac6dd34 Replace hardcoded button title in javascript to translatable text 2016-08-14 06:46:48 -04:00
Andrew Manning
2e7f4c1870 Added a disable comments setting to the "Additional features" settings with a corresponding post editor toggle button 2016-08-14 06:41:12 -04:00
redmatrix
6c672d2575 initialise jot editor if it is used as a file drop target and isn't yet opened. 2016-08-10 19:38:20 -07:00
redmatrix
7a557d31e0 open editor or comment window when linkdropping to a closed window. We probably also need this for filedropping. 2016-08-10 01:35:58 -07:00
redmatrix
de12503fad allow dropping links on comments as well as posts 2016-08-09 22:52:14 -07:00
redmatrix
12162f53b4 You can drag links to the editor (which will be parsed and inserted); as well as files (which will be uploaded) 2016-08-09 18:13:54 -07:00
Andrew Manning
8925e0c6c9 Fixed bug where multiple post attachements by drag-and-drop were not being added to the post content. 2016-07-28 19:21:33 -04:00
redmatrix
9967f2ab28 call wall_attach rather than wall_upload for drag/drop; which means you can drag/drop any file and not just photos. 2016-07-24 16:09:33 -07:00
Andrew Manning
1b1170bcf6 Drag and drop one image file at a time into the post editor will upload it. 2016-07-24 17:33:34 -04:00
redmatrix
df4ff26845 only request geolocation permission if we're creating a post. 2016-06-29 17:53:59 -07:00
Andrew Manning
71d4f65cb2 Move javascript functions back to jot-header.tpl 2016-06-12 20:10:37 -04:00
Andrew Manning
b5933e9d44 Photo embed button with album browser works in new post editor. 2016-06-12 19:41:37 -04:00
Andrew Manning
7fc2b13fe6 Stashing changes. Not a functional state. 2016-06-09 20:06:36 -04:00
redmatrix
7ae376b6cd menu entries for basic emoji support. I could use a bit of help theming this. It may also be better rendered as a panel of buttons than a dropdown menu. Eventually we should probably allow the system admin to configure the emojis they want; as there are a large number. I only brought in a small collection that I thought would be most useful as post reactions. 2016-06-02 22:06:19 -07:00
Treer
17dba9542a update icon names in view/ 2016-05-01 05:59:02 +10:00
Mario Vavti
931a4fafe3 get rid of the unused ispublic variable 2016-04-29 21:38:36 +02:00
Mario Vavti
fe9df64fc2 fix some slight crossbrowser rendering issues with jot 2016-04-15 09:52:40 +02:00
redmatrix
b788b38edf remove obsolete jotVideoURL() and jotAudioURL() 2016-04-11 21:40:03 -07:00
Mario Vavti
e2b4d33627 some work on comanche autocomplete 2016-04-09 12:16:42 +02:00
Mario Vavti
ec651f219e a simple autocomplete for bbcode or comanche - partly implemented 2016-04-04 17:12:23 +02:00
Andrew Manning
6083cd2559 If text is selected in profile-jot-text when the link button is pressed, the input URL is applied around the text. Otherwise, the normal link data fetch occurs. 2015-11-20 21:55:13 -05:00
redmatrix
917d0ced4a new feature: delayed posting 2015-10-25 16:54:18 -07:00
redmatrix
db58b62235 don't auto-open the editor in forum mode. Save the forum selection text until we open it. 2015-09-09 19:54:16 -07:00
redmatrix
2d471e39dc this is weird 2015-08-25 19:23:21 -07:00
redmatrix
2a59392ba8 change name of module 2015-08-22 19:31:39 -07:00
Mario Vavti
61e4ee753d allow jot to be displayed expanded, remove deprected datetimepicker js and some random fixes 2015-04-17 11:20:22 +02:00
Mario Vavti
9addc4581e provide a separate input field for rpost attachments 2015-04-16 23:26:11 +02:00
Klaus Weidenbach
c6162c4c88 Fix JavaScript problems on channels where you are not allowed to upload photos.
Add some try...catch blocks around JavaScript that throws errors.
This commit should fix the current problems that were introduced by an
earlier commit.
2015-03-12 22:57:00 +01:00
Mario Vavti
637f0eba4f collapse jot tools to submenu on small and extra small screens 2015-03-10 13:20:10 +01:00
friendica
79223b6b3d item voting tools 2015-02-10 19:10:18 -08:00
Stefan Parviainen
4e3aadc38a Rename some stuff related to autocomplete 2015-01-07 18:57:16 +01:00
Stefan Parviainen
c14dc699ae Fix initEditor on non-wall pages 2015-01-05 00:28:42 +01:00
Stefan Parviainen
386f361855 Autocmplete suggestions for non-local users, also suggest from visited channel's connections 2015-01-04 12:54:23 +01:00
marijus
242713ebef show clear browser location button only if use browser location option is set and minor css fixes 2014-12-09 15:09:19 +01:00
friendica
832cbbec15 testing new event code 2014-05-29 21:25:19 -07:00
friendica
22ed5b1d03 newevent: front end functions 2014-05-29 20:09:21 -07:00
marijus
3197ccbf5e bootstrapify aclselector 2014-04-11 16:06:39 +02:00
friendica
28228f5862 pass the original element title through the element stack so that it we don't lose it in the ajaxuploader. 2014-04-07 17:34:53 -07:00
marijus
3f1a78fa69 some work on jot, remove some deprecated js and some random style fixes 2014-04-03 17:03:32 +02:00
friendica
aede006970 bookmarks - mop up and go home 2014-02-04 17:12:13 -08:00
Christian Vogeley
d9d894cbb3 Confirm box: fall back to standard js confirm dialog if bootstrap isn't available 2014-01-13 22:32:13 +01:00
Christian Vogeley
325c5e4e76 delete confirmation popup for blocks and layouts 2014-01-12 02:29:03 +01:00
friendica
196b3022bd Merge branch 'master' into movejs
Conflicts:
	version.inc
2014-01-06 02:37:06 -08:00
Christian Vogeley
aafc40069b Confirm webpage deletion prompt 2014-01-01 16:18:39 +01:00
Christian Vogeley
25a533bd72 New modal dialog for item expiry 2013-12-22 14:21:57 +01:00
friendica
251ba6db30 fix photo permissions on encrypted posts 2013-11-13 03:15:07 -08:00
friendica
8eaab0642f very crude zid support for e2ee content and move bbcode converter to main.js so it's available when not logged in (though we might ultimately want to force people to get a matrix account to use our encryption). 2013-11-12 15:44:49 -08:00
friendica
34ee8de821 basic linking of audio/video tags in encrypted bbcode 2013-11-11 20:20:31 -08:00
friendica
54438be7c2 make e2ee work on tinymce 2013-11-11 17:50:36 -08:00
friendica
d9013f4311 provide real barebones XSS protection on e2ee contents and implement a few bbcode tags we're likely to see a lot of. Still need to write a js zid() function to properly implement zrl and zmg but at least they will be linked now. 2013-11-11 16:47:49 -08:00
friendica
435e2dae0e display encrypted text inline 2013-11-11 00:21:00 -08:00
friendica
7381326b7a provide expire feature on post and comments as well as private messages. This requires a feature setting and is currently unmaskable - if the author says it's gone, there's not a lot you can do to stop it or try and save it. It's gone. 2013-11-07 00:47:50 -08:00
friendica
09ca39fd08 provide an html src converter 2013-10-31 22:08:10 -07:00
Thomas Willingham
328ebda77a Kill autogenerated warnings, plus a typo. 2013-07-16 18:08:26 +01:00
marijus
b536116791 more spin.js porting 2013-07-15 18:43:34 +02:00
friendica
033c91868d we need to actually include spin.js or it causes issues 2013-07-14 01:33:47 -07:00
git-marijus
7e00a1662d port jot to spin.js 2013-07-13 23:31:34 +02:00
git-marijus
33d1736228 port like button to spin.js 2013-07-13 21:40:53 +02:00
fabrixxm
5e1980becf remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
2013-05-08 04:23:17 -04:00
Thomas Willingham
60721f4292 Colorbox 2013-04-26 22:31:50 +01:00
friendica
7621bd3bb1 reverting to fancybox for "save to file" selection box until we find a better way - prettyPhoto just isn't working for this and I really need this functionality ATM until we can figure out how to make prettyPhoto work properly here. 2013-04-21 22:12:18 -07:00
Thomas Willingham
dc80dce95e Fix acl 2013-04-16 04:20:29 +01:00
friendica
952b2ef2ab . 2013-03-10 18:45:58 -07:00
friendica
cf2488e999 clean up the photo storage backend, revamp mod/wall_upload 2013-01-22 17:48:42 -08:00
friendica
dcbc0c0c95 major theme re-org, only duepuntozero and slackr working atm 2012-08-01 05:02:43 -07:00
Renamed from view/jot-header.tpl (Browse further)