Commit graph

205 commits

Author SHA1 Message Date
fabrixxm
d522d7095d quattro: add unread message count per groups 2015-11-08 16:55:44 +01:00
fabrixxm
24d807221b Image filebrowser dialog links images to image page
fix #1991
2015-11-08 12:05:23 +01:00
fabrixxm
0363bab040 js: add new Dialog object
The Dialog is used by code to show urls in colorbox.
Templates can overwrite `show()` function to change its behaviour
2015-11-08 12:01:19 +01:00
fabrixxm
cbabac298d filebrowser: link image to original picture, show error messages 2015-08-24 13:54:41 +02:00
Fabrixxm
b6199bb520 catch comment format button also after ajax update 2015-07-30 15:27:36 +02:00
Fabrixxm
f5657e283c fix folder links in filebrowser dialog 2015-07-29 11:55:26 +02:00
Fabrixxm
b52158e7cf add comment to document how comment formatting buttons work 2015-07-29 11:36:40 +02:00
Fabrixxm
52f9465578 filebrowser fixs, use it in comment textareas
move filebrowser js to single file
document filebrowser usage
replace "onclick" for comment style buttons with data-* and move logic to main.js
use filebrowser to insert images in comments
2015-07-29 11:30:04 +02:00
Fabrixxm
6fc864c947 rework mod/ping and desktop notification logic
`mod/ping.php` returns all notifications ordered by date
mixing system notifications, private messages, intros, registrations
remove 'notify_full' mode
remove `&arr;` from unseen notes, 'seen' attrib now is "1" or "0"
new note attribute 'timestamp'
desktop notification logic use timestamp to check which notification show to the user
notification html template use timestamp to show full date to user in tooltip
`relative_date()` don't append full date on dates older than 24 hours
2015-06-25 10:02:26 +02:00
Fabrixxm
e29d05ce4a notifications order, unseen css class
ping return notfications ordered by notification id
notifications list get seen/unseen class from ping xml
global.css define 'notify-unseen'
2015-06-24 16:10:06 +02:00
Fabrixxm
bd3f29f266 remove close timeout 2015-06-24 11:27:24 +02:00
Fabrixxm
d8f69737ab remove debug logs 2015-06-24 11:04:38 +02:00
Fabrixxm
4549773389 fix desktop notification logic, add onclick handler 2015-06-24 10:56:10 +02:00
Fabrixxm
4036ad2554 Fix desktop notification
use on/off field for enable/disable desktop notification
show only new notifications after enable
use localstorage to save enabled/disalbed and last notification id
hide settings on browsers without desktop notification
2015-06-24 09:49:53 +02:00
Michael Vogel
439aee0a82 Automatically resize iframe if no height was provided. 2015-05-01 14:29:53 +02:00
Tobias Diekershoff
42ec9ad279 after pull 1460 all notifications got marked read 2015-04-07 07:47:15 +02:00
Tobias Diekershoff
106b0b5d23 Merge pull request #1460 from FlxAlbroscheit/develop
Issue 1163: Feature allowing desktop-notifications
2015-04-05 11:37:05 +02:00
FlxAlbroscheit
d2261397d9 Feature for desktop-notifications 2015-03-31 02:10:36 +02:00
StefOfficiel
f56a025aff Update jquery.js
Update jQuery 1.11.1 to 1.11.2 in good branch
2015-03-26 23:55:32 +01:00
Tobias Diekershoff
985d771b13 decreasing bubble display time in themes from 10s to 5s 2015-02-19 21:24:09 +01:00
Michael Vogel
8b5412068e When selecting forums there was an added "span" html element. 2014-12-01 22:56:41 +01:00
Carsten Pfeiffer
00c16b387a Make TinyMCE editors resizable 2014-11-01 22:18:42 +01:00
Fabrixxm
5bc69ccc70 remove dollar sign 2014-09-17 08:57:53 +02:00
Beanow
01b4f7d29a Menu links now collapse if clicked again. 2014-09-16 01:21:27 +02:00
hauke
baabb5ba8b removed fancybox as it is not used anywhere 2014-09-07 14:54:10 +02:00
hauke
392b53dbf9 minified js files where out of date and inconsistently used. Removed until decision on minifying strategy 2014-09-06 17:46:31 +02:00
hauke
87fa2ee2af updated jquery to version 1.11, updated themes frost and diabook where necessary 2014-09-06 16:21:03 +02:00
Michael Vogel
7eeb320085 It is now possible to ignore threads. 2014-09-04 00:58:52 +02:00
Michael Vogel
16803645ef No change in functionality. 2014-08-07 08:03:43 +02:00
Michael Vogel
4d6f28d224 Optimized version of the possibility to reload the content of the network page only at its top. 2014-08-02 00:35:25 +02:00
Michael Vogel
2f89a9b3e8 Auto update of network page only at top of the page 2014-08-01 19:59:06 +02:00
fabrixxm
487d563366 add people in thread in autocomplete (issue #936)
issues:
tested only in quattro theme
contacts in thread will appear twice in autocomplete popup
2014-04-27 15:18:44 +02:00
fabrixxm
67f844f561 acl automention: fix stupid typo... 2014-01-03 15:17:46 +01:00
fabrixxm
ad5a47aecf add fetaure switch for acl-automention 2014-01-03 14:40:43 +01:00
Fabrixxm
53dc1ce31f fix textarea/tinymce, add contact id to mention 2013-12-18 10:48:09 -05:00
Fabrixxm
9a94c35120 acl selector add and remove mentions when a forum is selected. 2013-12-18 10:18:26 -05:00
Mats Sjöberg
0a6e9c0c60 Updated minified version of ajaxupload.js. 2013-10-23 19:41:06 +03:00
Mats Sjöberg
06246bb0f2 getOffset() now falls back to old slower version for CSS layouts which cannot figure out bounding box widths. This fixes the photo and attachment upload buttons for some themes such as vier. 2013-10-23 19:21:53 +03:00
Zach Prezkuta
35358baac9 update to v4.0.0; point to local host of SWF 2013-05-11 10:55:09 -06:00
Zach Prezkuta
5d30008ab3 don't set img src in notifications to blank 2013-05-11 09:43:21 -06:00
Zach Prezkuta
bc57d7f64e bug in main.js for VideoJS on initial page load 2013-05-07 22:06:40 -06:00
Zach Prezkuta
fec4581f34 basic video playback support using VideoJS 2013-05-03 18:17:56 -06:00
Zach Prezkuta
2b94590bbf elastic transitions 2013-02-04 18:20:47 -07:00
Zach Prezkuta
0e67ba2bd4 update minified javascripts 2013-02-04 18:16:13 -07:00
Zach Prezkuta
0f25455d1b starting switching to colorbox 2013-02-04 18:09:56 -07:00
Zach Prezkuta
7d3a923294 script for minifying javascript files 2013-01-31 19:05:27 -07:00
Zach Prezkuta
e0dd8944ce some deleted files for tinymce update 2013-01-27 17:34:10 -07:00
Zach Prezkuta
6668d22d37 try to improve TinyMCE block handling 2013-01-27 14:41:48 -07:00
Zach Prezkuta
74caf1a4a7 * Add MIME types for file attachments
* Restore translatability to mood phrases
* Prevent casting of "false" in html2plain
* Allow attachments with a comma in the filename
* Fix/optimize ACL img data-src jQuery search
* Fix bug when uploading files with a comma in the name using Chrome/Chromium
* Babel nicer output formatting
* Remove obsolete "plaintext" check in mod/parse_url
* Restore TinyMCE live insertion of images
* Smarty conversion script: add --no-header option to suppress warning headers in Smarty template files
2013-01-12 06:31:32 -07:00
Olaf Conradi
2943550fe2 No need to remove data-src attributes
Better comment string also
2013-01-02 14:28:13 +01:00
Olaf Conradi
6a2bd8b29f Don't replace data-src with src in acl-template
On pageload an empty acl-list-item as template is created and not yet replaced.
Don't change the data-src for src attributes in those images.
2012-12-31 00:01:15 +01:00
Olaf Conradi
dbf8f711cf Fix browser prefetch in notifications menu
Fix browser prefetch by substituting data-src with src for images
2012-12-30 00:28:48 +01:00
Olaf Conradi
94c8d7693f Keep html in template, use data attribute for img
Revert previous changes to fix browser preloading a template variable as image.
Images use a data attribute within templates as src.
Javascript will substitute them.
2012-12-29 23:44:26 +01:00
Olaf Conradi
239110a2bc Change acl selection box templating
Keep dynamic templating in javascript so browsers don't
prefetch non-existing files.
2012-12-28 23:28:53 +01:00
Thomas Willingham
6454faede1 Friendicaland. 2012-11-06 21:17:46 +00:00
Zach Prezkuta
c9248b66db display live update; don't collapse comments on live update 2012-11-01 18:31:50 -06:00
Thomas Willingham
356329ee63 Friendicaland - remove states no longer flying the Friendica banner. 2012-10-25 01:42:25 +01:00
Thomas Willingham
c03eb332a3 Friendicaland 2012-10-22 01:23:16 +01:00
friendica
987b8b4880 tinymce tag complete - only replace tagged text 2012-10-09 17:03:00 -07:00
friendica
cef5169567 subscribe-to/follow threads 2012-09-27 19:53:55 -07:00
friendica
5cad3e114a give themes more control over events/birthdays and provide them as notifications 2012-09-18 17:43:09 -07:00
Thomas Willingham
4b8f3a4194 Friendicaland 2012-09-13 20:51:34 +01:00
friendica
0790af15fa rev update + bug 477 'Romania' misspelled 2012-09-09 15:35:33 -07:00
Thomas Willingham
a7bd46d38b Friendicaland 2012-08-15 22:21:20 +01:00
Zach Prezkuta
5e09fc31f5 Threading updates
- Add rudimentary thread handling to Frost
- Fix possible CSS bug in several themes from threading update
- Add ability for themes to prevent threading
2012-08-11 14:36:58 -06:00
Domovoy
25015d3ab9 Update now handles threaded items. 2012-07-29 18:39:38 +02:00
Zach Prezkuta
1f09e7ad23 Modify Javascript to improve page loading times
1. Add template category 'end' that places content right before final </body> tag
	2. Move most Javascript from tpl files into one cacheable file, theme.js
	3. Load scripts at end of the HTML document instead of in the header
	4. Minify several Javascript files

Note that the second and third things were only done for Frost and Frost Mobile. Doing it for every theme means going through every .tpl for every theme and rearranging the Javascript, which is tedious.
2012-07-28 09:57:16 -06:00
Thomas Willingham
3f39e29e6e Friendicaland got bigger. 2012-07-28 01:16:09 +01:00
Zach Prezkuta
5cb979f5e4 changes to support a mobile theme 2012-07-23 20:37:00 -06:00
Zach Prezkuta
88711deceb allow live updates for unlikes and undislikes 2012-07-13 09:09:01 -06:00
Thomas Willingham
3968e71d4c Friendicaland - couple of new 'countries' 2012-06-27 16:06:02 +01:00
Simon L'nu
3b1d9d9695 update jquery to 1.7.2; fix some dispy templates to be more in sync with view/
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
2012-06-23 13:33:58 -04:00
friendica
ebc4a05164 missing delimiter 2012-05-30 15:56:11 -07:00
Thomas Willingham
3e226a665c Friendicaland - you can't 'live' on a demo server. 2012-05-30 17:41:31 +01:00
friendica
e70573f34c if identity (uid) changes - reload any other open browser windows on next ping. 2012-05-22 16:01:07 -07:00
Thomas Willingham
c6104fb856 Darkzero-NS + 'Friendicaland' countries. 2012-05-20 01:44:07 +01:00
tommy tomson
ab908469ae close one menu (like the notifications menu) when another one is opened (like it is done when clicking somewhere else) (thx to ^mw) 2012-04-30 02:00:41 +02:00
Fabio Comuni
56efb42223 tinymce: add inlinepopups plugin 2012-04-18 14:55:21 +02:00
Fabio Comuni
e2e6b56c44 tinymce: add filebrowser for photos and attached files 2012-04-18 13:23:42 +02:00
Vasudev Kamath
626bb57e1d Removed execution permission: lintian warning in Debian packaging 2012-04-14 20:04:54 +05:30
Fabio Comuni
a23d46c49b main.js: set notifications icon "on" with new unread notifcations. Show "Nothing new here" with no notifications at all 2012-04-12 09:15:08 +02:00
tommy tomson
f980b79edc new-contacts-introductions in contacts-drop-down and new-messages in messages-drop-down get each an additional indicator...
profile-picture is now scaled right in firefox...
fixed broken css on introductions-page in firefox...
2012-04-06 11:19:12 +02:00
Alexander Kampmann
355c42cb30 Merge branch 'master' of https://github.com/friendica/friendica
Conflicts:
	include/config.php
	update.php
2012-04-05 13:39:15 +02:00
friendica
c34a71eba6 some js fixes - ignore backspace as history selector and cleanup errors closing non-existent menus 2012-03-31 05:51:56 -07:00
friendica
4c585f759f theme description with preview (non-translatable unfortunately) 2012-03-26 18:15:10 -07:00
Thomas Willingham
ca8769e193 Fixed regions for Germany, Bulgaria, Republic of Ireland, Scotland, Northern Ireland, Spain, and the UK. 2012-03-26 22:03:54 +01:00
friendica
c88674aaf2 theme preview for end users 2012-03-25 19:05:14 -07:00
Fabio Comuni
1780fff161 diabook: theme.php
remove code duplication
last photos check for user "hidewall"
remove unneeded regex
move js code to close popup in main.js (missing stop event propagation in popup links)
2012-03-23 14:09:06 +01:00
friendica
3ad02a749b make autocomplete work with updated tinymce 2012-03-21 05:27:08 -07:00
Tobias Hößl
453b5b46a3 CSRF-Protection in the group-related form (creating, renaming and dropping a group, adding/removing members from it) 2012-03-18 15:44:33 +00:00
friendica
395a9530dc still getting parent relays on remote systems 2012-03-07 18:23:55 -08:00
Fabio Comuni
3339428987 fix @mention autocomplete in comments 2012-03-03 00:12:45 +01:00
friendica
9b6afc2a38 one more attempt 2012-02-25 17:07:38 -08:00
friendica
35b5850af7 missed a spot 2012-02-25 17:04:31 -08:00
friendica
da1411af47 do not set notify popup empty anymore (though another solution is needed for firehose mode) 2012-02-25 16:16:52 -08:00
friendica
4839c235da theme seen,unseen notifications 2012-02-25 03:28:07 -08:00
friendica
41636a50aa new notify sort of working in testbubble 2012-02-22 23:34:30 -08:00
Abinoam P. Marques Jr
cec0542cdd js/fk.autocomplete.js - Friendika -> Friendica 2012-02-20 19:38:42 -03:00
Fabio Comuni
9047840ec2 nav: fix "See all notifications" 2012-01-23 09:23:37 +01:00
friendica
8aa2552372 add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit) 2012-01-18 16:21:30 -08:00