Commit Graph

130 Commits

Author SHA1 Message Date
Brion Vibber
c24458a9f0 Ticket #2638: allow themes to specify a base theme to load with 'include' setting in a theme.ini file 2010-09-02 14:11:52 -07:00
Brion Vibber
84726791d3 Fix for ticket #2286: [mobile] Text extends beyond border of repeat confirmation dialog floater box on iPhone
http://status.net/open-source/issues/2286

This bit of CSS was constricting the vertical size of the popup form for repeats:

.notice-options form {
 width:16px;
 height:16px;
}

I can only assume this was originally meant to constrain the mini inline AJAX forms to the size of the clickable buttons, but it doesn't make a difference to how those are displayed on iPhone, Android, or Opera Mini.
Removing the statement lets the popup form go to its natural size, covering the button.
2010-07-30 14:12:37 -07:00
Brion Vibber
7915386950 Allow plugins to load their styles for mobile view; fixes bad realtime button layout 2010-05-07 01:28:37 +00:00
Brion Vibber
5996d80c09 Ticket #2184: recognize Palm Pre / WebOS browsers for MobileProfile
One-line addition of 'webos' to the keywords list.
2010-05-06 21:29:04 +00:00
Brion Vibber
67eeaa9cf4 Pull localization updates from 0.9.x branch 2010-05-03 12:27:44 -07:00
Brion Vibber
8a02cad424 drop onStartShowHeadElements handler from MobileProfile; just duplicated the original code path, and after removing the bogus notice-spewing code it was running those things twice. 2010-04-08 10:09:56 -07:00
Brion Vibber
3172b50fc7 Add a User-Agent fragment blacklist to MobileProfile: sticking iPad on the regular theme, which works better on its larger screen (was tripped on 'mobile' in the UA though we had no explicit check for 'ipad' previously) 2010-04-06 12:21:42 -07:00
Brion Vibber
edea825c70 Comment out unreachable code spewing notices due to use of undefined variables in MobileProfile.
This needs some cleanup...
2010-04-06 12:13:54 -07:00
Zach Copley
61ada4558d Fix for disappearing 'connect' menu if xmpp and sms are disabled.
All 'connect' menu panels used to be optional, so Action tried to
figure out what the first item on the 'connect' menu should be.
This is no longer necessary because we have the non-optional OAuth
client connections panel now, which is not optional and can't be
turned off.
2010-03-03 10:19:14 -08:00
Zach Copley
871b3aa6c0 Remove un-needed config variable for enabling/disabling Twitter integration 2010-03-01 21:52:31 -08:00
Sarven Capadisli
5bdc6fa5d4 Moved hardcoded identica theme out of MobileProfile. In this case, it
will use whichever theme is loaded as its base and then add its own
mobile styles. Of course, if a theme comes with its own mobile styles,
it will use that instead as an addition to its own base.
2010-02-04 19:42:33 +00:00
Sarven Capadisli
23e96dd4d1 Added version info for MobileProfile plugin 2010-01-26 01:16:02 +01:00
Sarven Capadisli
2f74a9bf14 Better alignment for notice options in MobileProfile 2010-01-26 01:15:20 +01:00
Sarven Capadisli
1406cc452f Updated notice item view where a) notice text no longer wraps around
(under author's photo) b) supplemental notice content and options will
start right under notice text.
2010-01-26 01:15:07 +01:00
Sarven Capadisli
14c3ec73b9 Updated UI for notice aside content and notice options in MobileProfile 2010-01-26 01:13:53 +01:00
Sarven Capadisli
83eef607f1 Inline script for maxlength is deprecated 2010-01-26 01:13:29 +01:00
Sarven Capadisli
83779afe41 Adjusted notice option alignment in MobileProfile 2009-12-22 00:06:59 +00:00
Sarven Capadisli
5472779240 Added admin navigation item to MobileProfile 2009-12-21 15:09:12 +00:00
Craig Andrews
d41a0a5ed0 Use inlineScript() instead of element() to write inline javascript 2009-12-04 20:33:41 -05:00
Craig Andrews
675e32ac9a use cssLink() instead of element() to write out references to CSS 2009-12-04 20:21:05 -05:00
Zach Copley
9dc888894b Merge branch 'master' into 0.9.x
* master: (67 commits)
  Ticket 2038: fix bad bug tracker link
  Fix regression in group posting: bug introduced in commit 1319002e15. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
  Log database errors when saving notice_inbox entries
  Drop the username from the log id for now; seems to trigger an error loop in some circumstances
  request id on logs... pid + random id per web request + username + method + url
  Add OpenID ini info back into statusnet.ini as a stopgap until we can
  Some changes to the OpenID DataObjects to make them emit the exact same
  OpenID plugin should set 'user_openid.display' as unique key
  Remove relationship: user_openid.user_id -> user.id. I don't think this
  Have OpenID plugin DataObjects emit their own .ini info
  Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them"
  Catch and report exceptions from notice_to_omb_notice() instead of letting the OMB queue handler die.
  Fix regression in remote subscription; added hasRole() shadow method on Remote_profile.
  Fix fatal error on OMB subscription for first-timers
  Remove annoying log msg
  Drop error message on setlocale() failure; this is harmless, since we actually have a working locale set up.
  Catch uncaught exception
  Fixed bug where reply-sync bit wasn't getting saved
  Forgot to render the nav menu when on FB Connect login tab
  Facebook plugin no longer takes over Login and Connect settings nav menus
  ...

Conflicts:
	db/08to09_pg.sql
	db/statusnet_pg.sql
	locale/pt_BR/LC_MESSAGES/statusnet.mo
	plugins/Mapstraction/MapstractionPlugin.php
2009-11-30 10:28:58 -08:00
Sarven Capadisli
5bb07ba6be Increased notice_data-attach width 2009-11-30 12:29:02 +00:00
Sarven Capadisli
5f63c0279f Better notice_data-attach alignment for mobile devices that support
input type file
2009-11-30 12:27:48 +00:00
Sarven Capadisli
68a42f4917 Updated notice-options items alignment in MobileProfile 2009-11-30 11:45:40 +00:00
Sarven Capadisli
1d1778137b Minor. Removed whitespace. 2009-11-30 11:12:45 +01:00
Sarven Capadisli
e1fcac0e09 Changed DEFINE name to avoid conflicts 2009-11-20 04:49:35 +00:00
Sarven Capadisli
30f660b05c Using common_redirect 2009-11-20 02:12:09 +00:00
Sarven Capadisli
5a3267900d Changed gif to png 2009-11-19 20:59:21 +00:00
Sarven Capadisli
78c6056133 Changed this to action. THANKS zach! 2009-11-19 20:52:42 +00:00
Sarven Capadisli
3ff5dd6989 Doing content negotiation only once 2009-11-19 20:47:05 +00:00
Sarven Capadisli
60391d0b96 Brought the plugin up to date with recent 0.9.x changes e.g.,
Theme::path
2009-11-19 17:13:51 +00:00
Sarven Capadisli
42f3aff9eb Slight adjustment to local navigation padding 2009-10-15 15:02:53 +00:00
Sarven Capadisli
afa00b558f Reduced some margin-bottoms 2009-10-15 14:59:21 +00:00
Sarven Capadisli
09bafa13b1 Minor adjustment to site name spacing 2009-10-15 14:52:49 +00:00
Sarven Capadisli
414ca4e83f Adjusted global and local navigation spacing and size. Fixed logo's
view in Opera Mini
2009-10-15 14:46:49 +00:00
Sarven Capadisli
63d2476d74 More margin for logo 2009-10-15 14:22:46 +00:00
Sarven Capadisli
9c90fd05f7 Set width only to textarea 2009-10-15 14:20:42 +00:00
Sarven Capadisli
70a39c5b7b Better layout for form_settings 2009-10-15 14:05:43 +00:00
Sarven Capadisli
d7efe87e77 Better widths for notice options (improves Opera Mini's rendering) 2009-10-15 13:08:57 +00:00
Sarven Capadisli
94c7b2b43a Changed textarea @cols value for smaller screens 2009-10-15 12:47:59 +00:00
Sarven Capadisli
ed85dc2700 Updated comments 2009-10-15 11:25:38 +00:00
Sarven Capadisli
e6c4dceb5a Updated Profile view. Works better in Opera Mini, Webkits 2009-10-13 15:22:05 +00:00
Sarven Capadisli
dff412a3b1 Styles for entity actions 2009-10-13 14:56:58 +00:00
Sarven Capadisli
a74bb63add Added styles for the Profile page 2009-10-13 13:42:58 +00:00
Sarven Capadisli
0e333200a4 Added missing $this 2009-10-12 13:06:16 +00:00
Sarven Capadisli
d65702b301 Only output attachment if the mobile device is interested 2009-10-12 13:05:19 +00:00
Sarven Capadisli
410883d146 Ran phpcs and fixed a few errors and warnings 2009-10-12 12:58:51 +00:00
Sarven Capadisli
44a5cd2805 Added function to set a list of features the mobile device supports
and output accordingly e.g., if device is not known to have an open
file system or unable to make use of input type="file" don't output
that feature
2009-10-12 12:46:53 +00:00
Sarven Capadisli
7af1c83f4e Fixed typo, added ipod 2009-10-12 12:30:00 +00:00
Sarven Capadisli
0947ca8b93 Init mp-handheld stylesheet. For now, it is reusing mp-screen. Future
updates will handle media queries
2009-10-12 12:29:19 +00:00
Sarven Capadisli
5dc728a756 Reduced whitespace 2009-10-09 16:18:47 +00:00
Sarven Capadisli
76d7fa475e Updated header UI 2009-10-09 15:34:57 +00:00
Sarven Capadisli
0b741f15c2 Removed the Help item from global primary navigation in the header
since it is also used in the footer area. Frees up 'precious'space.
2009-10-09 15:32:56 +00:00
Sarven Capadisli
0799f48197 Updated mobilelogo extension 2009-10-09 14:48:14 +00:00
Sarven Capadisli
e36c952338 Fixed notice-options 2009-10-09 12:28:38 +00:00
Sarven Capadisli
921b25bf62 Some UI adjustments for form notice 2009-10-09 11:31:52 +00:00
Sarven Capadisli
e224da0bf6 Init styles for form_notice 2009-10-05 16:59:41 +00:00
Sarven Capadisli
9898a38b34 No longer need to style 2009-10-05 15:46:32 +00:00
Sarven Capadisli
7b4d138946 Init showNoticeFormData 2009-10-05 14:42:11 +00:00
Sarven Capadisli
676f681d22 Init mobile profile screen stylesheet. It reuses base and identica
themes. The handheld stylesheet could import this stylesheet as well.
2009-10-05 11:04:32 +00:00
Sarven Capadisli
5c01501f55 Minor correction 2009-10-05 10:29:34 +00:00
Sarven Capadisli
acda8d4c79 Init showPrimaryNav 2009-10-04 22:16:59 +00:00
Sarven Capadisli
479a5e74a3 Removed site_notice and anon_notice from output because this
information is not particularly crucial for the mobile user.
2009-10-04 21:42:38 +00:00
Sarven Capadisli
3c9f177c03 Stop output after showing header 2009-10-04 21:37:24 +00:00
Sarven Capadisli
d001c5f4b1 Init showLogo 2009-10-04 21:37:05 +00:00
Sarven Capadisli
5087a24c48 Init showHeader 2009-10-04 21:09:16 +00:00
Sarven Capadisli
fe4a49d4a5 If they are not on the mobile site or not interested in getting the
mobile profile, then give them the regular output.
2009-10-04 20:53:30 +00:00
Sarven Capadisli
3ee1af9aaa Minor adjustment to indenting 2009-10-04 20:43:52 +00:00
Sarven Capadisli
ef7e4cb72d If not meant to serveMobile, show the default styles 2009-10-04 20:42:03 +00:00
Sarven Capadisli
a7bed6f7d9 Added custom showHead 2009-10-04 16:50:53 +00:00
Sarven Capadisli
de2c4e36bc Mobile Profile plugin will use the identica theme for now 2009-10-04 16:33:52 +00:00
Sarven Capadisli
7addccacaa Added ability to define mobile stylesheets (handheld, screen) at the
theme level. If there are no mobile stylesheets in the theme
directory, it will use the ones that come with the plugin.
2009-10-04 16:26:04 +00:00
Sarven Capadisli
c64e1792bf Fixed redirect. Added common_path for mobileserver 2009-10-04 13:58:29 +00:00
Sarven Capadisli
960207c81e Don't redirect if mobile server is same as site server 2009-10-04 13:27:46 +00:00
Sarven Capadisli
f344a49b11 Don't show .aside 2009-10-03 21:29:14 +00:00
Sarven Capadisli
63700f7958 Minor correction to public variable name 2009-10-03 20:22:40 +00:00
Sarven Capadisli
604cfd8b11 Updated comment about browser sniffing 2009-10-03 20:17:26 +00:00
Sarven Capadisli
c2046a9ab6 Better logic to determine what to do with the visitor. Whether to
serve them the Mobile Profile or not, and possibly redirect.
2009-10-02 15:38:20 +00:00
Sarven Capadisli
43cd0f8719 Don't need text/xml until further evidence 2009-10-02 12:46:26 +00:00
Sarven Capadisli
d09444309f Init for WAP 2.0 and XHTML Mobile Profile support. WAP20Plugin is a
superclass for various WAP 2.0 document types. MobileProfilePlugin
extends WAP20Plugin and it is intended for serving XHTML Mobile
Profile 1.0.

Feature support for document types like WML 2.0 or WAP Push should be
created as seperate plugins and quite possibly extend WAP20Plugin.
2009-10-02 11:46:14 +00:00