Commit Graph

531 Commits

Author SHA1 Message Date
Evan Prodromou
c0853e3040 Merge branch '0.7.x' into 0.8.x 2009-06-10 09:09:57 -07:00
Sarven Capadisli
d9e5cda35d Removed 404 test 2009-06-09 00:09:44 +00:00
Sarven Capadisli
67cb99c442 Clearing notice_data-test and resetting notice_text-count if the
notice XHR. Removed hanging text URL from previous commit.
2009-06-08 20:52:27 +00:00
Sarven Capadisli
c5378beb83 Revert "Clearing notice_data-test and resetting notice_text-count if the notice XHR"
This reverts commit b20ac7a1fe.
2009-06-08 20:50:13 +00:00
Sarven Capadisli
b20ac7a1fe Clearing notice_data-test and resetting notice_text-count if the notice XHR
response is empty and have a 20x,30x HTTP status
2009-06-08 20:45:44 +00:00
Sarven Capadisli
a2ca9d96d2 Temporary workaround for silenting mysterious 200 OK error for XHR
notice posts.

The bug is sometimes reproduceable by sending a notice that includes
"@someusernamethatdoesntexist".

This patch doesn't throw alerts to user if server doesn't return with
an XHR response but HTTP is one of 20x, 30x.
2009-06-08 18:55:23 +00:00
Sarven Capadisli
b708b81065 Init notice_data-attach UI for form_notice 2009-06-05 00:00:04 -04:00
Robin Millette
fe38827a76 Remove js that crept back in, added another error string. 2009-06-01 17:40:53 -04:00
Robin Millette
0cbd72e092 Re-added some javascript to toggle upload field. 2009-06-01 15:52:52 -04:00
Sarven Capadisli
a39fa0ce2b Unnecessary JavaScript for notice form attachment 2009-06-01 15:20:12 -04:00
Robin Millette
ebeb5f744c Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into upload
Conflicts:

	js/util.js
	lib/attachmentlist.php
2009-05-31 17:12:04 -04:00
Sarven Capadisli
f56f2f52e7 Some cross-browser updates for conversation UI 2009-05-30 19:42:15 +00:00
Sarven Capadisli
6612993c1d Prevents regular hovers over attachment anchors from making a GET
request for the thumbnail. There is 500 ms delay while on mouseover
state before going ahead with the request. Fun.
2009-05-28 23:16:25 +00:00
Sarven Capadisli
f0dc97e4da Smarter call for hover events. It now makes a new GET for attachment
thumbnails on mouseover only if it hasn't been requested before on
that notice attachment.
2009-05-28 22:59:22 +00:00
Sarven Capadisli
60ac9bc6fd Bunch of UI fixes/improvements for attachments (hover, overlay, notice view,
clip)
2009-05-27 19:43:43 +00:00
Robin Millette
af700ea277 Let's you upload a file with a notice and have it shown with other attachments. 2009-05-26 21:20:04 -04:00
Sarven Capadisli
3877324fd8 Updated JS to show/hide attachment thumbnails with timers. Minor
markup changes.
2009-05-25 17:30:57 -04:00
Sarven Capadisli
01dad57298 Markup cleanup for attachments 2009-05-25 15:53:19 -04:00
Sarven Capadisli
7923e84fba Fixed URL for attachment thumbnail and XHR 2009-05-25 18:54:45 +00:00
Robin Millette
84edf12791 Display thumbnail on hover over links in notices when appropriate. 2009-05-25 11:13:13 -04:00
Robin Millette
5f3acc2527 Removed big clip and replaced with smaller inline one next to each URL (in a notice) that's actually an attachment. Overlay (popup) on click. 2009-05-24 21:13:42 -04:00
Robin Millette
b0a891e92b Made ajax link to show attachment popups relative in util.js 2009-05-24 18:40:11 -04:00
Robin Millette
8c2473a227 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-05-24 04:44:52 -04:00
Robin Millette
b5ac6e31f2 Rearranged attachment info to only appear on each applicable notice page and thru an ajax popup. 2009-05-24 04:43:34 -04:00
Sarven Capadisli
7e0a314768 Using event bubbling instead of event handling thanks to Ara
Pehlivanian http://arapehlivanian.com
2009-05-24 01:38:11 +00:00
Sarven Capadisli
ef2a5c794e Fixed in reply to JS link for Conversation page. Handles nested
notices better.
2009-05-22 16:19:14 +00:00
Sarven Capadisli
b23d423081 Added licensing information for jcrop.go and farbtastic.go scripts 2009-05-20 23:37:20 +00:00
Sarven Capadisli
b561962b59 Color picker reset: Resetting form values will also dynamically update
the page colors back to their original.
2009-05-20 23:11:35 +00:00
Sarven Capadisli
09e95cc33f Fixed array index 2009-05-19 17:31:43 +00:00
Sarven Capadisli
0c442e459e Added reset button
Rearranged swatch layout
Added background image upload input file
2009-05-19 17:05:30 +00:00
Sarven Capadisli
806200379d Dynamic color updates to page elements when user picks a color.
Using JSON to create swatches in HTML output.
2009-05-18 20:10:46 +00:00
Robin Millette
f3ea79a12a Added site path field to installer + fancy URL javascript auto-detection. 2009-05-17 00:05:07 -04:00
Robin Millette
fecb8c706d Attachments and their list now provide "ajax" view. Also added a few sidebars relating tags and attachments. 2009-05-15 15:04:58 -04:00
Sarven Capadisli
c8fd3c5765 Merge branch '0.7.x' into 0.8.x 2009-05-01 17:03:51 +00:00
Sarven Capadisli
deb07487bd 60 seconds hard timeout for XHR notice posting. JavaScript throws an
alert message to the client if the server doesn't respond back in any
way.
2009-05-01 17:00:36 +00:00
Ori Avtalion
609ac4c224 Fix link to identi.ca in JavaScript badge 2009-05-01 07:12:37 -04:00
Sarven Capadisli
d30df07908 Merge branch '0.7.x' into 0.8.x
Resolved Conflicts:
	lib/queuehandler.php
	lib/util.php
	theme/base/css/display.css
2009-05-01 00:16:25 +00:00
Evan Prodromou
7405d9dfa6 Don't add a node if it's already there
Try not to double-add a node on Ajax submit. Normally not a big deal,
but may happen if the CometPlugin (or in the future Strophe or other
auto-update plugins) is enabled.
2009-04-26 21:16:09 -04:00
Sarven Capadisli
12867d114d UI for server errors. 2009-04-24 17:22:43 +00:00
Sarven Capadisli
83ba1b0b5e The real 7 seconds (7000) timeout for XHR posting. 2009-04-23 21:51:49 +00:00
Sarven Capadisli
2bdf192dab XHR alerts for server-side errors: 404, 502, 503, 504. There is also a
7 second timeout if the server doesn't get back with a response.
2009-04-23 21:35:21 +00:00
Sarven Capadisli
63c52784c7 Allowing XHR for Inbox/Outbox pages. 2009-04-23 02:22:00 +00:00
Robin Millette
39c0e3a9ef fix 0.7.x 0.8.x merge conflict in register.php 2009-04-18 21:14:31 +00:00
Sarven Capadisli
81714c6c31 counter() after val() reset to avoid (weird) bug. 2009-04-17 20:14:06 +00:00
Sarven Capadisli
b22f446df2 Clear notice char counter for direct messages as well. 2009-04-17 19:51:20 +00:00
Robin Millette
e5094c3359 fix merge conflict 0.7.x 0.8.x in util.php and register.php. 2009-04-17 17:04:05 +00:00
Sarven Capadisli
c3a44d2ab9 form_notice textarea is cleared on successful direct message post.
Disabled notice posting with XHR on Inbox and Outbox pages. This will
be revisited in 0.8.x.
2009-04-16 21:57:42 +00:00
Sarven Capadisli
ed3d68435f Using farbtastic jQuery plugin to select design colours. 2009-04-13 05:39:23 +00:00
Evan Prodromou
559cf75edb upgrade jQuery to 1.3.2 2009-03-30 11:11:53 -04:00
Sarven Capadisli
90e5f01f8a Processing indicator (aka spinner thingy) for form_notice submits 2009-03-25 22:53:21 +00:00
Evan Prodromou
e185c0395a Revert "trac #201 Add flowplayer to enable multimedia playback capability."
This reverts commit 9c9b6790ce.

This code wasn't ready for release, so I've reverted it for now.

Conflicts:

	lib/action.php
	lib/util.php
2009-03-12 00:13:28 -04:00
Sarven Capadisli
dcdf47cff2 Avatar crop fix for shrinking/stretching of images when user doesn't
scale it with the Jcrop tool (but hits Crop). This will use the lower
value from width/height.
2009-03-04 05:11:18 +00:00
Zach Copley
1fdb35bbf1 New doc page for Identi.ca badge and minor updates to badge's js 2009-02-20 17:17:20 -08:00
Robin Millette
9c9b6790ce trac #201 Add flowplayer to enable multimedia playback capability. 2009-02-16 17:46:24 +00:00
Evan Prodromou
e5bad15264 upgrade jQuery from 1.3 to 1.3.1 2009-02-09 12:39:03 -05:00
Zach Copley
61b17b4c02 Facebook app: don't add FBJS event listeners to notice input box if it's not on the page 2009-02-05 07:10:11 +00:00
Sarven Capadisli
e2d445abbb Uses regular HTTP GET to new notice replyto page instead of JS when
notice_data-text is available.
2009-01-28 15:25:50 +00:00
Zach Copley
1c60afb940 trac750 140 character countdown for FB app 2009-01-27 01:55:36 +00:00
sarven
658eebd977 Calling NoticeReply() after a new notice is posted. 2009-01-23 02:49:48 +00:00
sarven
0daf242100 Using util.js to set onclick reply anchor 2009-01-23 02:43:18 +00:00
sarven
785ffd5b9b Populat notices and some css cleanup 2009-01-22 21:03:59 +00:00
sarven
a330bdac62 Moved nudge response from util.php to nudge.php
Adjusted some CSS
2009-01-22 06:33:38 +00:00
sarven
a39bb4a3b8 Grabs x,y,w,h from hidden inputs if it is set, otherwise, it will use
defaults
2009-01-21 21:37:08 +00:00
sarven
41f74218f2 Profile avatar settings 2009-01-21 20:33:37 +00:00
Evan Prodromou
0824bb2e1d Merge branch 'master' into groups 2009-01-21 11:52:06 -05:00
Evan Prodromou
4491e82762 Add actions for joining or leaving a group, and fixup JS to match 2009-01-21 11:47:23 -05:00
sarven
db4993970e (Un)subscribe AJAX forms 2009-01-21 04:08:05 +00:00
Evan Prodromou
12c475c101 Merge branch 'master' of /var/www/trunk
Conflicts:

	actions/facebookhome.php
	actions/facebooksettings.php
2009-01-19 13:35:17 +00:00
Zach Copley
aea172bee0 trac750 Removed psychotic FB redirect hack. Found a better way with document.setLocation() 2009-01-18 21:08:56 +00:00
Zach Copley
8fdf888edb trac750 Javascript file for Facebook app 2009-01-18 06:12:47 +00:00
sarven
4b1cc73a58 Favor/Disfavor form @class
Created icon, and add style
JS selector change
Fixed return actions
2009-01-18 03:12:39 +00:00
sarven
102028fb48 In reply to @id 2009-01-17 03:03:53 +00:00
sarven
ba18deeee5 Adding xbImportNode 2009-01-17 02:57:51 +00:00
sarven
e34efca7f3 Update to notice form character count warning 2009-01-16 18:14:20 +00:00
sarven
877327a18e Update to XHR post notice 2009-01-16 17:02:46 +00:00
sarven
eacb8df691 Added jquery.form.js 2009-01-16 16:17:27 +00:00
sarven
eb53e96942 Removed the jquery form extension and xbImportNode.
These will be replaced by jquery's built in load() later.
2009-01-14 23:50:18 +00:00
sarven
523588da33 Added Jcrop jQuery plugin 2009-01-14 23:25:32 +00:00
Evan Prodromou
a6c9e3cea0 Update jQuery libraries to 1.3 2009-01-14 11:45:07 -05:00
csarven
ba24378fdf Jcrop CSS updates to original/preview views
darcs-hash:20081210025922-eefa4-20d87784a350ccc94ee8cb2d69ad44b1b0c92539.gz
2008-12-09 21:59:22 -05:00
csarven
33196c24f4 Jcrop v2 (POST cropping to be completed)
darcs-hash:20081210021607-eefa4-c3590f3e734255faf098bf5ca09fc17901a6db70.gz
2008-12-09 21:16:07 -05:00
Sarven Capadisli
563a9e64be identica badge by Kent Brewster. For more information see:
http://kentbrewster.com/identica-badge/

Copy and paste the following wherever you want the badge to show up:

<script type

darcs-hash:20081218003302-efd22-9423c6317fe60a3c288c713333f7b16a84228c3e.gz
2008-12-17 19:33:02 -05:00
Sarven Capadisli
946eee4256 Direct message XHR response fix for IE and minor tweaks
darcs-hash:20081216071818-efd22-d2e59bb60a236538452be356f38d0974f35f0107.gz
2008-12-16 02:18:18 -05:00
Sarven Capadisli
0910a8915b Alerting the direct message XHR response
darcs-hash:20081211225808-efd22-7f21b4588aad028766516f76173cf62cdf560855.gz
2008-12-11 17:58:08 -05:00
Sarven Capadisli
a0d85c93bc Nudge JS process and image removal
darcs-hash:20081211021755-efd22-5b2f406b22a87c81cc02f92fee8a0ed64572e113.gz
2008-12-10 21:17:55 -05:00
csarven
665a3325b3 Nudge disabled and greyed out while ajaxForm process
darcs-hash:20081208055812-eefa4-719bb1b630a7d0764b286d67488313627b5180c8.gz
2008-12-08 00:58:12 -05:00
csarven
7d2f88f935 (Un)Subscribed submit is disabled and greyed out while ajaxForm process
darcs-hash:20081208051212-eefa4-13c2cc5bab8c8da38dff51bce7fe89c2debdb781.gz
2008-12-08 00:12:12 -05:00
csarven
d55318eaed trac831 disables status_form input submit onsubmit
darcs-hash:20081201175028-eefa4-f67a2bd15bf052d62c36b1ff666f37ca98983f31.gz
2008-12-01 12:50:28 -05:00
Evan Prodromou
412e3e27f2 new upstream version of jquery form
darcs-hash:20081130231627-5ed1f-7ee35664bf6cf3a35157bd861016a1210dfca79c.gz
2008-11-30 18:16:27 -05:00
csarven
a627c69944 Dec/Increment user's number of Subscribers in Portfolio Un/Subscribe event.
darcs-hash:20081126182317-eefa4-837600d917ec3fbe4c806fb2c5fad2daff0713cb.gz
2008-11-26 13:23:17 -05:00
csarven
e4f65762cc Removed JS alert and minor cleanup
darcs-hash:20081123213458-eefa4-51ef75c757915e5d4eb0dd69fcdcada3b0ccb150.gz
2008-11-23 16:34:58 -05:00
csarven
04a4e883f0 PostNotice AJAX working in all browsers except IE
darcs-hash:20081123015559-eefa4-5ce05e6e79236c6d5ebc87f0aa3ec4de51bae130.gz
2008-11-22 20:55:59 -05:00
csarven
7b099a4c6b Don't allow user to send a new message or nudge right after subscribing to another contact
darcs-hash:20081120235752-eefa4-42e67140086035ae57c4db38aea48cabb0486d75.gz
2008-11-20 18:57:52 -05:00
csarven
fe6738b6c7 importNode bugfix for undefined node
darcs-hash:20081120234923-eefa4-952f059fdda781d3f223a1f26af4741b59bb9421.gz
2008-11-20 18:49:23 -05:00
csarven
171bedf24b (Un)Subscribe form using ajaxForm()
darcs-hash:20081120232655-eefa4-cf6a71e246828793d3bfa413db724ab33bc58bcf.gz
2008-11-20 18:26:55 -05:00
millette
e369c5f740 nudge : added js code to enable ajax
darcs-hash:20081117173144-099f7-b475f072ddc36e03143e05698e86186955566db9.gz
2008-11-17 12:31:44 -05:00
csarven
f3572aec7f Nudge feature
darcs-hash:20081116022735-eefa4-366f6deb85942f859ebd532e477b57737bcafbf8.gz
2008-11-15 21:27:35 -05:00
csarven
322a79739d trac670 trac689 Favorites (duplicate id, background image, JavaScript)
darcs-hash:20081115033549-eefa4-cfbca6f9c723aa63869c39d6851de7a7803f0703.gz
2008-11-14 22:35:49 -05:00
Evan Prodromou
6880084e6b second argument to importNode
darcs-hash:20081114194727-84dde-8dba6a82efe1deafc77e07f17685cf2cd0f8eeb2.gz
2008-11-14 14:47:27 -05:00
Evan Prodromou
49bc274d7c try to import new_form
darcs-hash:20081114194620-84dde-8349db3358c547889ec9b095dc340fdd0cd31210.gz
2008-11-14 14:46:20 -05:00
Evan Prodromou
b43af6ad53 move update of replyto value to correct area
darcs-hash:20081020172549-5ed1f-9ae91cf6d0af250275921b48831999269fd8d3dd.gz
2008-10-20 13:25:49 -04:00
Evan Prodromou
60f43d0da9 more value updates
darcs-hash:20081020172305-5ed1f-8d2d9ba64faa0e12ac14fc7c92f0dcdd283f48fc.gz
2008-10-20 13:23:05 -04:00
Evan Prodromou
1e63fd4a34 more specific selector for updating replies
darcs-hash:20081020172117-5ed1f-29177ae6f4439707b20732cccb83ef12f8478f85.gz
2008-10-20 13:21:17 -04:00
Evan Prodromou
f2e3021b59 try to make replies point to the clicked-on notice
darcs-hash:20081020170245-5ed1f-b84f63d9d9b589bd18f97924db547e348beb6647.gz
2008-10-20 13:02:45 -04:00
Evan Prodromou
515f7875ce dis -> fav
darcs-hash:20080918151642-5ed1f-ceb2678a7818cadf3928257504f3e14eb179c749.gz
2008-09-18 11:16:42 -04:00
Evan Prodromou
a0ef34cb1a have to add the ajaxHidden thing, too
darcs-hash:20080918150753-5ed1f-ffb32e350a24e7a425f5ce2b46b3248f22523d2a.gz
2008-09-18 11:07:53 -04:00
Evan Prodromou
9501023295 ajaxForm on returned forms
darcs-hash:20080918150438-5ed1f-72853ffa3b2d4a3719ba72a1aedb7191f7213e4e.gz
2008-09-18 11:04:38 -04:00
Evan Prodromou
0f787d649b replace -> replaceWith
darcs-hash:20080918150120-5ed1f-aaa30e8817bc1653fb5c28a6cd7697f960f9ef2c.gz
2008-09-18 11:01:20 -04:00
Evan Prodromou
935e9b8509 get the zeroth form in the returned array
darcs-hash:20080918145545-5ed1f-11100b4bd89ef289f31bbfd37a58c4395469f808.gz
2008-09-18 10:55:45 -04:00
Evan Prodromou
4520daac3e ah, turns out each() stuff is called as a method
darcs-hash:20080918140756-5ed1f-800912781c9b34d4490cef462ad32a6afa7e799c.gz
2008-09-18 10:07:56 -04:00
Evan Prodromou
7d6c0c28df Gee, maybe I shouldn't try to write DOM code from memory
darcs-hash:20080918140533-5ed1f-429c55bd99e468dc1e9d1ba4c8823f4027e94477.gz
2008-09-18 10:05:33 -04:00
Evan Prodromou
054b4d0be6 if favor/disfavor submitted through ajax, return micro-html of form
darcs-hash:20080918135608-5ed1f-d753cb01f96e04871eb4f503ccd258674a03623a.gz
2008-09-18 09:56:08 -04:00
Evan Prodromou
4af5b0441b split favor forms code
darcs-hash:20080918032048-5ed1f-90a55a52e5444d9ae85c0d52af204b44fb895f58.gz
2008-09-17 23:20:48 -04:00
Evan Prodromou
5e0efb4679 missed a closing curly
darcs-hash:20080908211656-84dde-d903b28745503166b8d94b0d86836860b6b0fbbe.gz
2008-09-08 17:16:56 -04:00
Evan Prodromou
04f87895ba make favorites form use Ajax
darcs-hash:20080908211610-84dde-8a7819ee8733cf73a778c2448c93974e2adecca7.gz
2008-09-08 17:16:10 -04:00
Michael Landers
a2ff06d046 Fix for reply arrow in profile page
darcs-hash:20080905090848-58978-6b47e2b4b30fccc02df7cf3aa43fede33379c1ee.gz
2008-09-05 05:08:48 -04:00
Evan Prodromou
9e8ae6a1e7 set focus to status text area
darcs-hash:20080905050824-84dde-6a58a72c28d79cc5b754ee0498fcb3dadccd555a.gz
2008-09-05 01:08:24 -04:00
Evan Prodromou
2cc634e266 stop default handling of return in browser
darcs-hash:20080905050356-84dde-6e8b359848ff43b97097cc96943d829a8c9d3f5c.gz
2008-09-05 01:03:56 -04:00
Evan Prodromou
e29c2b2938 do submit on keydown
darcs-hash:20080905045736-84dde-7232813dafb70b75309f5cb9e58831fb49497918.gz
2008-09-05 00:57:36 -04:00
Evan Prodromou
a0d607ecaa return in the status textarea will submit the form
darcs-hash:20080905045415-84dde-bbb6947b53479c2b0f3060094431835784fa686b.gz
2008-09-05 00:54:15 -04:00
Evan Prodromou
719470994a try to make the reply button do the right thing if there's no notification box.
darcs-hash:20080827015010-84dde-d5ed6a0a290273e400b71e4623a54ac88ee29173.gz
2008-08-26 21:50:10 -04:00
Evan Prodromou
4787fb5a05 license block on util.js
darcs-hash:20080827013835-84dde-f112bbda4d8d00f47147098ff6140f355610843c.gz
2008-08-26 21:38:35 -04:00
Evan Prodromou
7cb9b153c7 remove hack to count bytes, not chars, in JS, since we now use chars
darcs-hash:20080817153143-84dde-1ff56e4066c0905e8846876bc9de22eca999f826.gz
2008-08-17 11:31:43 -04:00
drry
1311305e23 multibyte counter
#00179

darcs-hash:20080708090418-57001-e5c0f9e19666fb25a7fcb2e92e89ef83d159b5ab.gz
2008-07-08 05:04:18 -04:00
Evan Prodromou
d31624629e try another tack
darcs-hash:20080709072429-84dde-86bd168e5d70b84cc471c74e349bd4e9a3ba0a70.gz
2008-07-09 03:24:29 -04:00
Evan Prodromou
a7db6216fa fallback to newnotice on reply button, new button with mouseover
darcs-hash:20080709071439-84dde-f85f0e97f7c14bb77b7174f281e3e9f75c23cac1.gz
2008-07-09 03:14:39 -04:00
mike
606297e453 replybutton.darc
Add a simple reply button to notices

darcs-hash:20080708112016-f7d30-321142883159fa91338754140ac4ea37e54bb746.gz
2008-07-08 07:20:16 -04:00
Evan Prodromou
409bc56ff2 run the counter once at page load time
darcs-hash:20080701183016-84dde-f1aed06f7bd67a665ba55c03f036d98bd208c3b9.gz
2008-07-01 14:30:16 -04:00
matthew.gregg
c0ac127a68 Removed some DOM lookups in the char counter
darcs-hash:20080625125847-982e4-b4c1c644fe07a43c61062ae3d9302148ab925088.gz
2008-06-25 08:58:47 -04:00
matthew.gregg
240989994d Char counter for notice update text area. http://laconi.ca/PITS/00094
Added a util.js and this uses JQuery.

darcs-hash:20080624174613-982e4-1a6f11365957e6f4ed70b87ce64fb9938441f01f.gz
2008-06-24 13:46:13 -04:00
Evan Prodromou
4a01376789 add jQuery
darcs-hash:20080617043650-84dde-cef7662e9dff3ac0a1187586fc4cdcfca1d08087.gz
2008-06-17 00:36:50 -04:00