CiaranG
b4c273113c
A couple more 'Join Now' messages that need disabling when the site is closed or invite only
2009-03-19 21:55:03 +00:00
Meitar Moscovitz
4327ae19d4
Fixes ticket:1053; removes spacing between hash and tag on profile page.
2009-02-17 18:37:02 +11:00
Sarven Capadisli
012288bdf6
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-11 16:53:01 +00:00
Sarven Capadisli
fc293545be
Minor. Changed from @class location to label
2009-02-11 16:50:07 +00:00
Evan Prodromou
22b10399aa
Unify feeds definition in actions
...
I got a little sick of trying to keep the export data and <head> links
synched in actions, so I made a common method, getFeeds(), which gets
the feeds for both. It returns an array of Feed objects, which know
about what their mime type is, title, location, all that jazz.
I changed the FeedList class so it handles the new Feed objects
instead of the old array of data.
I changed all the actions that show feeds (I think...) so that they
now use getFeeds() for all their feed needs.
2009-02-11 11:37:50 -05:00
Meitar Moscovitz
b240a17194
Beginning to refactor document relationship links to reduce common code.
...
My attempts here are to mimic the `pagination()` method shared by
actions. I'm tentatively adding the `$count` property to actions so that
we can query the number of notices ''being displayed'' per page prior to
calling the actual `pagination()` method itself, since document
relationship `<link>` elements need to be output inside of `showHead()`,
before `showContent()`, which is where `pagination()` is, gets called.
2009-02-10 20:25:44 +11:00
Meitar Moscovitz
8cb3035b89
Merge branch 'dev-0.7.x' into link-rel-paginate
2009-02-10 05:05:04 +11:00
Evan Prodromou
9b7c57d094
whitespace and formatting in showstream.php
2009-02-09 12:07:21 -05:00
Meitar Moscovitz
6e2f045837
Add machine-readable pagination using HTML4.01 <link rel="next">
, etc.
...
These extra `<link>` elements only appear on pages where pagination
makes sense. They trigger functionality in some user agents, such as
Opera's Navigation Bar for more easily navigating forward and backwards
across a paged set of notices, messages, or group lists, etc.
2009-02-09 00:02:51 +11:00
Sean Murphy
a3d5e00f64
Merge commit 'upstream/0.7.x' into 0.7.x
...
Conflicts:
actions/showstream.php
2009-02-07 11:02:10 -05:00
Sean Murphy
d6245dca63
Fixed #1048 : Edit avatar link on profile page.
2009-02-06 18:36:34 -05:00
Evan Prodromou
343cd6f205
Move common_avatar_* functions to Avatar
...
Moved the common_avatar_* functions to the Avatar class. Typically
either as methods on the object or as static methods. Replaced all the
uses of the functions in other modules.
2009-02-06 03:55:48 -05:00
Zach Copley
ab82978b2d
Trac #894 and #1013 - fixed bad redirects after delete notice
2009-02-05 16:16:10 -08:00
Adrian Lang
68a3139d0b
Fix #81 : Profile and personal shows „you“ instead of username when looking at own profile / personal. While doing so I fixed a wrong gettext usage were the result was not sprintf'd, but concat'd.
2009-02-05 11:53:32 -05:00
Zach Copley
c16ddd6775
trac1095 Profile page had bad alternate links for RSS and Atom feeds
2009-02-03 16:31:41 -08:00
Sarven Capadisli
5f004c0158
Added "Edit" entity_action.
...
Updated theme files.
2009-02-02 16:33:47 +00:00
sarven
8e4f985e45
Minor
2009-01-24 03:45:44 +00:00
Evan Prodromou
5f89b88650
showstream is readonly
2009-01-23 09:45:48 +01:00
sarven
500ed2f5eb
Cleanup
2009-01-23 05:23:28 +00:00
sarven
961c5af3ce
Anonymous notice
2009-01-23 03:47:32 +00:00
Evan Prodromou
13bd15b0b5
p -> div for markup wrapper
2009-01-23 04:31:50 +01:00
Evan Prodromou
b09a58e8dc
Add anonymous message for user pages
2009-01-23 04:15:03 +01:00
Evan Prodromou
4e7192579a
Add personal tag cloud
2009-01-22 20:46:37 +00:00
sarven
07b52e19be
Minor cleanup for future groups_related
2009-01-22 00:12:16 +00:00
sarven
a57f12b06c
selector name cleanup
2009-01-22 00:04:13 +00:00
sarven
d72706ce9d
Changed to @class entity_profile from @id user_profile.
2009-01-21 23:33:52 +00:00
sarven
4b42c35269
General markup and style cleanup
2009-01-21 22:44:27 +00:00
Evan Prodromou
3260106537
list of groups to profile page
2009-01-21 13:33:06 -05:00
Evan Prodromou
ed9cb94ff3
fix sub/unsub buttons, profileminilist for sections
2009-01-21 13:03:33 -05:00
sarven
92e2f3babc
Added @title to user_action inputs and anchor and form legends
2009-01-21 07:14:43 +00:00
sarven
27b627c094
Made user_actions styles more consistent
2009-01-21 06:54:17 +00:00
sarven
6c78421298
Moved common_profile_new_message_nudge() to showstream.php
2009-01-21 06:31:53 +00:00
sarven
f51984175a
Matching markup for tags
2009-01-21 01:22:08 +00:00
sarven
1ab0de3ddd
If user has fn, then it will not link to their own profile with @class
...
'fn'. Only put @class 'fn' on the anchor if there is no fn.
2009-01-20 23:50:52 +00:00
sarven
bb4a6a514b
user_actions form markup and styling
2009-01-20 22:36:57 +00:00
sarven
96dc058bfa
Using nickname only for uid
2009-01-20 05:58:35 +00:00
sarven
27308afe85
Added mark_hash for content (i.e., to indicate tags with the
...
character '#')
2009-01-20 05:11:45 +00:00
sarven
918bd84c0d
Removed extra div
2009-01-20 05:06:46 +00:00
sarven
7f60558cbb
User subscriptions markup
2009-01-20 05:04:41 +00:00
sarven
ec1249d3ad
User statistics markup
2009-01-20 04:57:15 +00:00
sarven
8e8c580586
showPageTitle() and showPageNoticeBlock()
...
and using url on nickname instead of fullname
2009-01-19 23:19:05 +00:00
sarven
774fc5378b
user_profile markup
2009-01-19 22:40:21 +00:00
Evan Prodromou
7ca32eb2e6
Upgraded showstream, didn't make it phpcs-compatible
2009-01-19 16:56:41 +00:00
Evan Prodromou
4b0cf99e56
Convert use of common_server_error and common_user_error to methods on Action
2009-01-15 23:03:38 +00:00
Evan Prodromou
eaa81d25fa
Convert all actions to use new UI functions
...
I did a massive search-and-replace to get all the action subclasses to
use the new output function (common_element() -> $this->element(), etc.)
There's still a lot to do, but it's a first step
2009-01-15 22:57:15 +00:00
Evan Prodromou
b264c03d32
move opening brace of class declaration to next line
...
Another gigantor PEAR coding standards patch. Here, I've moved the
opening curly bracket on a class statement to the following line.
darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23 14:49:23 -05:00
Evan Prodromou
04ef1ba8ee
change function headers to K&R style
...
Another huge change, for PEAR code standards compliance. Function
headers have to be in K&R style (opening brace on its own line),
instead of having the opening brace on the same line as the function
and parameters. So, a little perl magic found all the function
definitions and move the opening brace to the next line (properly
indented... usually).
darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23 14:33:23 -05:00
Evan Prodromou
eb2f9c98ac
replace NULL with null
...
Another global search-and-replace update. Here, I've replaced the PHP
keyword 'NULL' with its lowercase version. This is another PEAR code
standards change.
darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23 14:21:29 -05:00
Evan Prodromou
edbc0c665c
replace all tabs with four spaces
...
The PEAR coding standards decree: no tabs, but indent by four spaces.
I've done a global search-and-replace on all tabs, replacing them by
four spaces. This is a huge change, but it will go a long way to
getting us towards phpcs-compliance. And that means better code
readability, and that means more participation.
darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-23 14:19:07 -05:00
Evan Prodromou
20af192796
bring lib/noticelist.php into line with PEAR code standards
...
darcs-hash:20081223190851-84dde-ecad63595159aca2ae014325c9af29a9ace21c3d.gz
2008-12-23 14:08:51 -05:00
Evan Prodromou
9855fc003b
don't block yourself!
...
darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz
2008-12-12 00:18:30 -05:00
Sarven Capadisli
596c1b7f5a
Using single id for both profile block and unblock
...
darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz
2008-12-11 23:32:40 -05:00
Evan Prodromou
8dcce13297
make a new NoticeList widget and call it from StreamAction
...
I made a new notice-list widget (like the profile list) and call it
from StreamAction. This cleans up some of the mess in the various
notice-stream-showing classes.
I also changed show-stream so it uses a subclass of NoticeList that
doesn't show author info (which is unnecessary).
darcs-hash:20081211231252-5ed1f-ee6e551ed5a029406748120f12e2ff57c4a86493.gz
2008-12-11 18:12:52 -05:00
Evan Prodromou
cd5eec767a
add an unblock form
...
darcs-hash:20081208173722-5ed1f-fcdcb49e4958854ce9872beecee409737cacecb5.gz
2008-12-08 12:37:22 -05:00
Evan Prodromou
17fd7b1850
add returnto information to the block form
...
darcs-hash:20081208170931-5ed1f-e7c5853e6a222b04723f20c01ebaae15eeab3687.gz
2008-12-08 12:09:31 -05:00
Evan Prodromou
9b4df5056f
add block form to subscribers list and profile page
...
I added a small form for blocking users to profiles in the profile
list, and also to the profile page.
I also added an action to handle the results of blocking someone.
This required some changes to the profile list class (so I could
add the block form), so I made them. And the gallery class lets its
subclasses return a subclass of ProfileList for their profile list.
darcs-hash:20081208055511-5ed1f-e2e09986bd3b9cbb6a00a0c6b94f49ea78b7bdab.gz
2008-12-08 00:55:11 -05:00
csarven
2670324ca8
Using abbr.published @title and ISO8601
...
darcs-hash:20081203220637-eefa4-5a9db2b3b178c6a7e4edb43b72c392215ed3e004.gz
2008-12-03 17:06:37 -05:00
Evan Prodromou
63500f10f8
permanent redirect on non-canonical nickname
...
darcs-hash:20081203174646-5ed1f-8f9f050a7e8c217872c283f299d790252c205920.gz
2008-12-03 12:46:46 -05:00
Evan Prodromou
4b586436c8
better microformats from @singpolyma
...
darcs-hash:20081203035947-84dde-68ce5b3ba2b49bd76e9ef8572cea7857cd05a659.gz
2008-12-02 22:59:47 -05:00
Evan Prodromou
a1da43417e
support microsummaries
...
darcs-hash:20081124223533-5ed1f-1ae78e694043cef14d528dcd4201301eec8ad61b.gz
2008-11-24 17:35:33 -05:00
csarven
ca8f45fc6e
Tag markup and styling for tag_self, tag_user, form#tag_user
...
darcs-hash:20081121023827-eefa4-ed91f63cac35c078dc385546a69209cbef2a0d5e.gz
2008-11-20 21:38:27 -05:00
csarven
171bedf24b
(Un)Subscribe form using ajaxForm()
...
darcs-hash:20081120232655-eefa4-cf6a71e246828793d3bfa413db724ab33bc58bcf.gz
2008-11-20 18:26:55 -05:00
Evan Prodromou
a31d13e020
links to people tags
...
darcs-hash:20081120225137-84dde-03ae7562e67c825bb7bf29805d32a351f8b095c5.gz
2008-11-20 17:51:37 -05:00
Evan Prodromou
48b55301d4
show self-tags
...
darcs-hash:20081120215751-84dde-8954f2dd5be0a333329d035a649676193c8844e9.gz
2008-11-20 16:57:51 -05:00
millette
87d0235b54
nudge: only show it when other person has enabled it.
...
darcs-hash:20081117154147-099f7-cf844aabcc3866eaf42312050a959dbc7cb10ed9.gz
2008-11-17 10:41:47 -05:00
csarven
f3572aec7f
Nudge feature
...
darcs-hash:20081116022735-eefa4-366f6deb85942f859ebd532e477b57737bcafbf8.gz
2008-11-15 21:27:35 -05:00
csarven
67f3c1a8d4
trac626 Put a list of feed links
...
darcs-hash:20081114210506-eefa4-ba7e9bdd794ddfcacc397d732073abf99e97f3a5.gz
2008-11-14 16:05:06 -05:00
Evan Prodromou
18d4226ead
add atom and RSS 2.0 link elements to head of profile page
...
darcs-hash:20081023212659-5ed1f-0efa86cf7fbcc7bae4cb468fc514f33adf15ba0d.gz
2008-10-23 17:26:59 -04:00
Evan Prodromou
3544fca932
shownotices takes user rather than profile in showstream
...
darcs-hash:20080928120616-5ed1f-fc0b136afff897a2d69f88dd83b6fc5df4f675b6.gz
2008-09-28 08:06:16 -04:00
Evan Prodromou
02a3f24b92
single function for important streams, with memcached support
...
I moved the 4 streams for a user (with friends, faves, replies,
personal) into functions on the User object. Added a helper function
in Notice for making notice streams. Also, will fetch notice streams
out of the memcached server, if possible. Made the API, RSS, and HTML
output all use the same streams (hopefully cached).
Added some code to Notice to blow the cache when a notice is posted.
Also, added code to favor and disfavor actions to blow the faves
cache, too.
darcs-hash:20080928120119-5ed1f-ead542348bcd3cf315be6f42934353154402eb16.gz
2008-09-28 08:01:19 -04:00
Evan Prodromou
7ff02bb7d4
try to clean up user-without-profile errors
...
darcs-hash:20080926145008-5ed1f-8a60ed3c5adbfe75aa044732e8d10dbdb9b93089.gz
2008-09-26 10:50:08 -04:00
Evan Prodromou
c060a84c5b
check for cur before message link
...
darcs-hash:20080922225620-5ed1f-0dd8e76bcb8850744040e234e04b3182a0e13add.gz
2008-09-22 18:56:20 -04:00
Evan Prodromou
bd828b9fc7
add favor/disfavor to profile
...
darcs-hash:20080918152612-5ed1f-5ce8b0a834ffa50e04d6b47d1cac4c4b94f28e9e.gz
2008-09-18 11:26:12 -04:00
Evan Prodromou
e42de1ccc1
fancy urls for show message, new message
...
darcs-hash:20080917180244-5ed1f-06e2ac2d8f094eacd12b316794b0599b57d76596.gz
2008-09-17 14:02:44 -04:00
Evan Prodromou
ae6ba61d43
don't show message link on your own page
...
darcs-hash:20080917175512-5ed1f-0242ead7766806165266e424ed6d1cb9dd19abca.gz
2008-09-17 13:55:12 -04:00
Evan Prodromou
124762160a
add new message link to showstream
...
darcs-hash:20080917175356-5ed1f-5a84dc8363d7c1dbf60a82782aefe5a0bd6f3d59.gz
2008-09-17 13:53:56 -04:00
Evan Prodromou
4272da4e9e
CSRF protection for subscription/unsubscription
...
darcs-hash:20080829051104-84dde-9bd23c28c2c8a720046060a33ff3e5f246c47116.gz
2008-08-29 01:11:04 -04:00
Evan Prodromou
222b974b23
change no-such-user error to a 404 instead of a 400
...
darcs-hash:20080804132001-84dde-e6fae9837f87d80356317e4815516dd9ff03e674.gz
2008-08-04 09:20:01 -04:00
Evan Prodromou
ba3ca4f6bb
show the right stuff on profile page, too
...
darcs-hash:20080730033939-84dde-21b90f9c8b5fcede12a71f12fee20a4faaf1c549.gz
2008-07-29 23:39:39 -04:00
Evan Prodromou
2090e0aa78
show where a notice came from
...
darcs-hash:20080730032651-84dde-0685ec5f899129bc75745ca8d1d083f56f3f1ff5.gz
2008-07-29 23:26:51 -04:00
mikec
334c652e80
Publish MicroIDs for email and mpp on profile and notice pages.
...
darcs-hash:20080721120036-edabd-838335c0e23c80a657d353955b25b52a9a8624b2.gz
2008-07-21 08:00:36 -04:00
Mike Cochrane
26f6c917a7
Fix errors from delete code when viewing a user's profile while not logged in.
...
darcs-hash:20080720122715-533db-64247879e336666835880cd3de10bc2ef27e46c7.gz
2008-07-20 08:27:15 -04:00
Mike Cochrane
3c56b10036
Add rel
...
darcs-hash:20080720101947-533db-a7ddbd4d33b492196cf9a4287dfbfa3e341d6f40.gz
2008-07-20 06:19:47 -04:00
matthew.gregg
faa3933fbb
Added notice deletion http://laconi.ca/PITS/00045
...
Removes selected notice and any replies that reference it.
Attempts to de-queue anything pending.
This patch does not archive notices.
darcs-hash:20080716032045-982e4-a0b5d37ecfa84796f1681dda54110094ad1424c6.gz
2008-07-15 23:20:45 -04:00
Evan Prodromou
ccfccfd645
hide magic self subscription
...
darcs-hash:20080722163511-84dde-3ac60595640e545335cc13d120f3e99ba5d1f513.gz
2008-07-22 12:35:11 -04:00
Evan Prodromou
ab1f2ff9d0
every user is subscribed to themselves
...
darcs-hash:20080722144154-84dde-80beabad9a681f2e12edb34ceb4ac249f4ce6705.gz
2008-07-22 10:41:54 -04:00
Evan Prodromou
ca134adeec
add rel
...
darcs-hash:20080717163211-84dde-6fceee14b023a44bd44311528c8a74a9ca3917e8.gz
2008-07-17 12:32:11 -04:00
Evan Prodromou
70d99a1289
add a description with the bio in it to HTML head
...
darcs-hash:20080717124719-84dde-192dd0799905c6fde3bf503c08951d4a308e1e12.gz
2008-07-17 08:47:19 -04:00
Mike Cochrane
bdd0091e70
Sort notices by date then id so they are in the correct order when there are multiple in the same second
...
darcs-hash:20080713065009-533db-69d7f21d152552d7e994a0c7c7615b61a8ea592c.gz
2008-07-13 02:50:09 -04:00
Mike Cochrane
b104da04fb
Colapse a lot of strings to make like easier for translators and more consisitant for users
...
darcs-hash:20080713053748-533db-1cdb0cf3a9e4102eb139b74a7a9d4f97dadb20b8.gz
2008-07-13 01:37:48 -04:00
Evan Prodromou
8c1678c0f1
check type, not value, of counts
...
darcs-hash:20080713003932-84dde-cb681331aae0d3351bbeb8bed0744933a462c1d5.gz
2008-07-12 20:39:32 -04:00
Evan Prodromou
fd39937f0b
try to show zeroes in statistics
...
darcs-hash:20080712200909-84dde-c248fe1d44072c40db59eed592166e3f529cfbb0.gz
2008-07-12 16:09:09 -04:00
Mike Cochrane
7e38142d4a
Resolve conflicts and convert _t( to _( where it was introduced again.
...
darcs-hash:20080710045126-533db-ffd9bcfe1295b3a376579ed7cd2278d5597b1884.gz
2008-07-10 00:51:26 -04:00
Mike Cochrane
4b656f47df
Merge conflicts and kill a whole lot of trailing whitespace on lines.
...
darcs-hash:20080709224630-533db-b5399baef280133858dac9b89c2cd6a2aba9f861.gz
2008-07-09 18:46:30 -04:00
Mike Cochrane
4d65b99c68
Translate a few more strings.
...
darcs-hash:20080708100519-533db-b326ea0bb16ea6c8244cfd00a0dd639d0553dd21.gz
2008-07-08 06:05:19 -04:00
Mike Cochrane
87b494f1eb
Convert _t() to _() for gettext.
...
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-07-08 05:45:31 -04:00
Evan Prodromou
cd0049acee
use rendered text in profile page stream
...
darcs-hash:20080709203910-84dde-85a0a36009b13cb57e2db9f051aa5864fdb723a2.gz
2008-07-09 16:39:10 -04:00
Evan Prodromou
e04f24a3f8
use getCurrentNotice() on profile page
...
darcs-hash:20080709203831-84dde-6f5f64f354a243ffefea8af8ef046d4bd0ec8e82.gz
2008-07-09 16:38:31 -04:00
Evan Prodromou
66b1f3f233
show reply_to for notices in profile stream
...
darcs-hash:20080709203237-84dde-f76ca017b4bc1f3c260aaefaaa5ffac5c0f08028.gz
2008-07-09 16:32:37 -04:00
Evan Prodromou
63f1fb4259
store rendered content on save; display pre-rendered content
...
darcs-hash:20080709195238-84dde-a5df98439faaf7058571b5e345f165adece9c7b8.gz
2008-07-09 15:52:38 -04:00