Stefan Parviainen
34ecbcceea
Make nav search use textcomplete
2015-01-07 19:39:50 +01:00
Stefan Parviainen
ce88f0ab6a
Add hint on how to use search box
2014-12-14 18:40:59 +01:00
Stefan Parviainen
513efc8928
Add some ids to nav elements
2014-12-12 16:27:45 +01:00
Habeas Codice
ac27db22c1
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
boot.php
include/dba/dba_driver.php
include/diaspora.php
include/follow.php
include/session.php
include/zot.php
mod/photos.php
mod/ping.php
2014-11-13 13:06:31 -08:00
Habeas Codice
1a5a5c7edb
PostgreSQL support initial commit
...
There were 11 main types of changes:
- UPDATE's and DELETE's sometimes had LIMIT 1 at the end of them. This is not only non-compliant but
it would certainly not do what whoever wrote it thought it would. It is likely this mistake was just
copied from Friendica. All of these instances, the LIMIT 1 was simply removed.
- Bitwise operations (and even some non-zero int checks) erroneously rely on MySQL implicit
integer-boolean conversion in the WHERE clauses. This is non-compliant (and bad programming practice
to boot). Proper explicit boolean conversions were added. New queries should use proper conventions.
- MySQL has a different operator for bitwise XOR than postgres. Rather than add yet another dba_
func, I converted them to "& ~" ("AND NOT") when turning off, and "|" ("OR") when turning on. There
were no true toggles (XOR). New queries should refrain from using XOR when not necessary.
- There are several fields which the schema has marked as NOT NULL, but the inserts don't specify
them. The reason this works is because mysql totally ignores the constraint and adds an empty text
default automatically. Again, non-compliant, obviously. In these cases a default of empty text was
added.
- Several statements rely on a non-standard MySQL feature
(http://dev.mysql.com/doc/refman/5.5/en/group-by-handling.html ). These queries can all be rewritten
to be standards compliant. Interestingly enough, the newly rewritten standards compliant queries run
a zillion times faster, even on MySQL.
- A couple of function/operator name translations were needed (RAND/RANDOM, GROUP_CONCAT/STRING_AGG,
UTC_NOW, REGEXP/~, ^/#) -- assist functions added in the dba_
- INTERVALs: postgres requires quotes around the value, mysql requires that there are not quotes
around the value -- assist functions added in the dba_
- NULL_DATE's -- Postgres does not allow the invalid date '0000-00-00 00:00:00' (there is no such
thing as year 0 or month 0 or day 0). We use '0001-01-01 00:00:00' for postgres. Conversions are
handled in Zot/item packets automagically by quoting all dates with dbescdate().
- char(##) specifications in the schema creates fields with blank spaces that aren't trimmed in the
code. MySQL apparently treats char(##) as varchar(##), again, non-compliant. Since postgres works
better with text fields anyway, this ball of bugs was simply side-stepped by using 'text' datatype
for all text fields in the postgres schema. varchar was used in a couple of places where it actually
seemed appropriate (size constraint), but without rigorously vetting that all of the PHP code
actually validates data, new bugs might come out from under the rug.
- postgres doesn't store nul bytes and a few other non-printables in text fields, even when quoted.
bytea fields were used when storing binary data (photo.data, attach.data). A new dbescbin() function
was added to handle this transparently.
- postgres does not support LIMIT #,# syntax. All databases support LIMIT # OFFSET # syntax.
Statements were updated to be standard.
These changes require corresponding changes in the coding standards. Please review those before
adding any code going forward.
Still on my TODO list:
- remove quotes from non-reserved identifiers and make reserved identifiers use dba func for quoting
- Rewrite search queries for better results (both MySQL and Postgres)
2014-11-13 12:21:58 -08:00
Stefan Parviainen
24bdf58d2b
Use consistent terminology for channel directory
2014-11-09 09:37:06 +01:00
friendica
bae3029c63
merge madness
2014-10-19 16:12:05 -07:00
Stefan Parviainen
6867a8a7f6
Login menu
2014-10-16 17:21:37 +02:00
marijus
f9200027d0
fix userinfo icon size
2014-10-09 11:31:48 +02:00
friendica
9135ad30d8
network page default option
2014-10-04 23:53:05 -07:00
friendica
5292e3a100
implement a "powered-by" but leave it turned off until somebody with a good eye for layout can figure out where best to put it.
2014-09-29 21:58:35 -07:00
friendica
22e6e691ca
Navbar notifications: don't show "nothing new here" unless we've checked and there's nothing. Until we know for sure, display "Loading...".
2014-09-20 16:34:48 -07:00
marijus
6c806f6f48
aalso change the way we check for number of chatrooms
2014-09-20 17:28:42 +02:00
marijus
bd54358aa6
show bookmarks menu only if we have any bookmarks already
2014-09-20 16:31:56 +02:00
friendica
b522ab13cb
nav channel selection
2014-08-18 20:03:48 -07:00
friendica
5dcd0654d4
always provide a profile edit entry in the nav usermenu
2014-07-24 21:29:07 -07:00
marijus
bd06e58007
whitespace
2014-06-14 15:38:44 +02:00
marijus
b9256eed30
unclutter menues a little
2014-06-14 15:31:36 +02:00
friendica
d17768d4e7
change app dropdown to point to apps module (changes nav template). Important: Plugins using the app-menu hook will no longer be accessible from there and may require re-writing to plug into the system apps page. Also filter apps in items from the language detector to avoid false triggers from the base64 content.
2014-05-21 17:23:34 -07:00
friendica
32e71cf06b
finish "ifpending" connections
2014-04-04 17:43:44 -07:00
friendica
97f0424b18
introduce a connection type called 'ifpending' for number 6 of issue #395 - so that we can still have an unconditional 'pending' link. Needs testing before integrating with the nav menu
2014-04-04 16:56:49 -07:00
friendica
61f47cd5ed
move language selector to a module
2014-03-05 03:19:20 -08:00
friendica
81c439bc7d
revert the temporary fix for the missing hdr.tpl and add the ability to provide context sensitive help/documentation by passing the current URL path to the help module as $_REQUEST['cmd']. So we could create a special help page for settings/display or whatever. The only issue is whether this should be presented first with a link to the main help page, or if we put a line at the top of the main help page that says "I need help for settings/display". Also edited the help target window name, as "friendika-help" is a bit dated.
2014-03-03 14:33:49 -08:00
friendica
895c9411d9
add choklet template with several defined flavours, two and three column fluid layouts with optional side margins and a region for a blog-style header photo
2014-03-02 16:46:34 -08:00
friendica
d8434bb480
use the medium size photo on the nav bar if that photo stays larger, as the small one usually looks awful when you scale it up.
2014-02-20 01:49:40 -08:00
friendica
e8d98fbc85
extend the usermenu so we don't have to keep going back to channel homepage to get to the other channel links
2014-02-06 16:43:04 -08:00
friendica
d32bbaf599
split private messages into two modules - "message" is just for message lists, "mail" is for reading and writing conversations. This is so we can Comanchify it cleanly.
2013-12-21 23:47:44 -08:00
friendica
950bd72e02
use sitename for the banner if nothing else has been set
2013-12-14 21:37:37 -08:00
friendica
5382f607d9
yeah - that's what I'm going to do. we'll just keep system notifications. If somebody wants web pages for the others we'll start fresh. It's easier than starting with curfty friendica code that doesn't work anymore and will never work without starting over.
2013-12-06 00:11:15 -08:00
friendica
1aa79d9ee6
some code cleanup - gad I forgot what a mess the "other" notifications tabs (everything but system) were in. Maybe I'll just remove them so we can start over.
2013-12-06 00:02:39 -08:00
friendica
7536ed6e44
allow themes to mess with the navbar contents without a custom template. It's done as a callback using a transient plugin hook.
...
For instance to get rid of the notifications link:
insert_hook('nav','strip_notify');
function strip_notify($a,&$b) {
unset($b['nav']['notifications']);
}
2013-11-28 20:17:07 -08:00
marijus
3311fe4813
make autocomplete better themable by adding an id
2013-11-14 18:03:16 +01:00
friendica
1aa69604fc
more redbasic icon work
2013-10-09 18:33:33 -07:00
friendica
1e7034c4da
nav icons
2013-10-09 03:26:24 -07:00
Olivier Migeot
98e87b2149
Changed CSS class "selected" to "active" in navbar, according to https://abcentric.net/display/f17b319c6d4b616a0d0a639e177969c6ae084248f1ee2bec9d8147c9291bf495@abcentric.net
2013-09-18 12:11:46 +02:00
friendica
c6df954fc0
make displaying the language selector configurable
2013-09-03 18:48:01 -07:00
marijus
9383694432
make home link on remote sites work again
2013-07-18 20:01:03 +02:00
friendica
53c69a17c5
more cleanup
2013-04-14 22:28:45 -07:00
friendica
dd22e1b582
just tinkering and trying a few things - don't get upset. It can all be reverted it it sucks. Freedom's just another word for "nothin' left to lose" and I'm not sure it's possible to create a UI that's hated more than Friendica. So that gives us plenty of artististic license to explore some different directions and see if they lead to anything interesting.
2013-03-05 15:48:56 -08:00
friendica
ea3940c4b0
start formatting for Doxygen
2013-02-25 17:09:40 -08:00
Thomas Willingham
c4ca0f796a
Fix broken menu for multiple profiles.
2013-02-02 16:28:10 +00:00
friendica
357e71cb44
simplify friendship approval - merge with connection editing
2013-01-27 17:05:32 -08:00
friendica
28ab6d5bf5
lostpass fixes and login/logout flow if authenticated but no default channel exists
2013-01-27 01:19:24 -08:00
friendica
b8c92a0a42
fix some displayed links that were wonky
2013-01-22 23:08:46 -08:00
friendica
d8d8dd5ced
directory services cleanup
2013-01-19 01:07:35 -08:00
friendica
a96d3ac66f
The rest of the front end for the new notifications - now only missing "mark all seen" for some types, ajax loader for a couple of types, and perhaps a birthday cake icon if any birthdays today, a bit of css cleanup of duplicated or obsolete stuff
2013-01-08 11:59:29 -08:00
friendica
f04ce3b093
more work on notification system, fix a couple of minor issues from smarty conversion
2013-01-07 13:40:58 -08:00
friendica
b001323390
make the menu consistent and eliminate redundancy - though we need icons for mail and events (sorry Thomas if this breaks your themes in a bad way, but at least the menus make sense now).
2013-01-03 17:36:03 -08:00
friendica
9a8dec5480
place holders for mail and event icons on nav bar
2013-01-03 17:08:36 -08:00
friendica
7df33bb963
fix register_policy globally
2013-01-03 13:50:23 -08:00
friendica
c70777e19c
a bit of e_all cleanup
2012-12-08 14:18:02 -08:00
friendica
7d1610197d
move autosubmit up a level where it will actually work
2012-12-06 14:15:40 -08:00
friendica
e17ba14696
DB: do the mail table again. Mail almost working onsite, still needs to zot though
2012-12-04 18:24:46 -08:00
friendica
c5cace552b
most of the basic "make friends" stuff except for email notifications, drop community tab
2012-12-03 19:17:02 -08:00
friendica
c38ec1ab48
notify stuff
2012-12-02 20:01:30 -08:00
friendica
f66a3d26be
magic auth indicator (link is dead at the moment)
2012-11-08 18:44:33 -08:00
friendica
3d56ab227d
turn multiple profiles into a feature, implement connection flags (block,hide,archive,etc.)
2012-11-07 18:48:31 -08:00
friendica
7915e597ec
more theme stuff
2012-11-03 06:32:27 -07:00
friendica
2fa93655c4
a lot more changes of terminology
2012-11-03 02:34:12 -07:00
friendica
140f464e02
channels you are connected to are "connections". Get rid of "address book" which doesn't fit.
2012-11-03 02:00:48 -07:00
friendica
d4657c89c2
merging zot_finger schema additions
2012-11-01 01:54:51 -07:00
friendica
e3c2e58979
"profile url" e.g. the wall/stream is now "channel url". "Profile URL" goes to the profile details.
2012-10-29 17:14:02 -07:00
friendica
ceeb4db6e3
Give the UI a little love after all the backend mods
2012-10-24 19:13:29 -07:00
friendica
968b9ce1af
more heavy lifting
2012-10-23 21:24:23 -07:00
friendica
8f9ddcb536
lotsa little fixes
2012-10-21 22:11:02 -07:00
friendica
b60560812f
fix photo in nav menu
2012-10-19 03:49:39 -07:00
friendica
fbafd92f7f
moving a lot of structure around. 'entity' is now 'channel'
2012-09-25 17:57:20 -07:00
friendica
a08666be14
unbreak some more stuff
2012-09-04 19:49:29 -07:00
friendica
7550cd586b
fix the nav
2012-09-02 20:57:44 -07:00
friendica
fb714f9e72
recover frankentheme
2012-08-27 22:27:36 -07:00
friendica
e7957e1448
create fetch_tags function, make search work again, change logo
2012-07-10 19:28:02 -07:00
friendica
5355193b63
theme cleanup
2012-07-09 22:48:51 -07:00
friendica
4b066e04f6
making tags work
2012-07-09 22:08:25 -07:00
Fabrixxm
0fb08e3642
nav: pass $baseurl to template
2012-06-29 05:29:29 -04:00
Zvi ben Yaakov (a.k.a rdc)
6df74b8cd9
Now using App::get_cached_avatar_image for navigation bar
2012-06-19 16:05:39 -07:00
Zvi ben Yaakov (a.k.a rdc)
8af9fe8df7
Added missing backticks to navigation bar query
2012-06-17 23:39:28 +03:00
Zvi ben Yaakov (a.k.a rdc)
b0021a4637
Enabled Profile photo revisions to be displayed in navigation bar
2012-06-17 23:22:37 +03:00
friendica
c58b0b9cbb
prvgroup should see intros
2012-05-29 18:24:44 -07: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
e2c295c01f
another silly mistake
2012-03-29 21:44:30 -07:00
friendica
bb8beb26b4
use zrl to get home again
2012-03-29 20:58:32 -07:00
friendica
894278dbcc
change default profile photo to something more interesting than a reddish brown square
2012-03-20 15:41:06 -07:00
friendica
110e8f2919
basic ssl_policy for important modules
2012-03-14 21:20:20 -07:00
tommy tomson
6a5c4bab9c
messages-menu translation, add scroll-to-top and theme-bug-report in theme
2012-03-07 00:07:27 +01:00
friendica
fd43e2c563
more theme notify fixes
2012-02-23 00:28:26 -08:00
friendica
41636a50aa
new notify sort of working in testbubble
2012-02-22 23:34:30 -08:00
Abinoam P. Marques Jr
3ef6344d41
include/nav.php - 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
Fabio Comuni
30fcda7576
nav: fix intro notification url, fix "See all notifications" url and make it translatable
2012-01-22 19:27:56 +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
friendica
02b11c5d59
several little nits in the hcard template output which could affect parsers
2011-11-12 12:28:21 -08:00
Friendika
99a548d4ac
fix friend suggest link in testbubble
2011-11-07 17:25:40 -08:00
Friendika
e4dd2a5a9a
begin the name change
2011-10-28 17:29:13 -07:00
Friendika
3ef7dcac4b
solve intro/notify naming issue by providing both or either, theme decides what to do
2011-10-11 20:38:09 -07:00
Devlon Duthie
f5fc8dabe5
Anne set testbubble banner to be fixed, I added the other notification types to /notifcations, added link to notifcations drop-down for all notifications and added notifications drop-down to testbubble theme
2011-10-07 01:25:08 -05:00
Friendika
ffa3b67365
fix nav-selected duepuntozero
2011-09-28 23:10:23 -07:00
Fabio Comuni
5ce6f893a6
Apps popup menu in navbar
2011-08-31 16:18:03 +02:00
fabrixxm
07b6c868b3
remove javascript to set selectect nav item. enanche img template prefetch ignoring
2011-08-17 18:36:24 +02:00
Fabio Comuni
d12e2cbfe9
Fix nav template and add missing strings
2011-07-29 16:23:47 +02:00
Fabio Comuni
e6444adafd
change nav selected css class
2011-07-25 16:52:30 +02:00
Friendika
c8d969e84c
my -> your
2011-07-14 03:08:48 -07:00
Friendika
7534b8873b
link tips on nav bar
2011-07-14 03:05:54 -07:00
Friendika
20d3aa2e77
community page
2011-07-04 20:57:07 -07:00
Fabio Comuni
b1184f3fde
Merge remote-tracking branch 'friendika-master/master' into admin
2011-06-14 10:37:54 +02:00
Friendika
dc10178b18
apps is not an array...
2011-06-13 21:37:56 -07:00
Friendika
fb92dbf5d6
link events + personal notes to profile tabs
2011-06-13 20:32:30 -07:00
Fabio Comuni
494288ab9f
Add admin page in nav
2011-06-13 12:52:52 +02:00
Friendika
681885a120
"notes" app
2011-05-20 01:15:02 -07:00
Friendika
b2e92e0af3
deprecate load_view_file
2011-05-11 04:37:13 -07:00
Friendika
a00813497f
bring back load_view_file for dispy templates
2011-05-10 23:35:31 -07:00
Friendika
c052d68828
don't use load_view_file() except in email templates and install of htconfig - to avoid getting wrong file when package is updated by copying over an older version.
2011-05-10 16:12:50 -07:00
Fabio Comuni
0afef6b17e
arrays and simple conditional blocks in template, template for nav, load templates from themes
2011-04-14 09:22:38 +02:00
Friendika
767f165965
local documentation library
2011-04-13 07:07:21 -07:00
Friendika
c12927042e
nav link to help & documentation
2011-04-10 05:55:45 -07:00
Friendika
08032e0453
change language dynamically - bound to F8 key
2011-03-31 04:57:31 -07:00
Friendika
ca113bfaa0
change link to project website
2011-03-24 21:10:51 -07:00
Friendika
216f038456
icon changes, feed security improvements
2011-03-04 20:55:32 -08:00
Friendika
6480fd73a7
units conversion app - needs some styling and code cleanup
2011-03-02 03:25:12 -08:00
Friendika
377f991ac5
switch identities to manage pages
2011-03-01 20:18:47 -08:00
Friendika
80ed4242ee
singleuser site mode plus fix search template layout
2011-02-28 19:44:47 -08:00
Friendika
5f2f644064
resolve file inclusion conflicts w/ multiple plugins, improve the typo checker
2011-02-21 20:19:33 -08:00
Friendika
642a71ffde
app menu - and a demo application 'tictac'
2011-02-19 00:56:15 -08:00
fabrixxm
2ea85fd67e
show 'login' tab selected on login page
2011-01-20 20:16:57 +01:00
Friendika
91db3b3f41
more doco on header/nav region
2011-01-11 14:20:01 -08:00
Friendika
1b0ddc928d
make home tab work from remote profile, fix link in comment notify emails
2011-01-05 01:53:34 -08:00
Friendika
98dcc19511
page_header hook
2010-12-30 14:36:35 -08:00
Friendika
e287014b98
navigation aid: show server name on page
2010-12-22 20:04:20 -08:00
Friendika
0e6eb4d002
link the logo text
2010-12-22 19:23:54 -08:00
Friendika
f60f82727f
register/login timestamps
2010-12-16 16:35:45 -08:00
Friendika
d8c5c1cd6b
added brand link
2010-12-14 15:21:31 -08:00
Friendika
1cffecd1be
footer is serving no useful purpose.
2010-12-12 17:40:23 -08:00
Friendika
1131b2ea53
minor layout stuff
2010-11-18 17:42:23 -08:00
Friendika
4514927128
added search
2010-11-08 17:30:00 -08:00
Friendika
05cd91129e
branding
2010-11-05 22:20:33 -07:00
Friendika
4f8445760c
cleanup photo page a bit more, some work on branding
2010-11-04 00:19:10 -07:00
Friendika
07b78e9d1c
more branding
2010-11-02 21:25:59 -07:00
Mike Macgirvin
2a23a7e840
project rename
2010-11-02 20:17:46 -07:00
Mike Macgirvin
f0b6400584
more lint
2010-10-31 16:38:22 -07:00
Mike Macgirvin
0f47ac282c
celebrity/group/community pages about 75% implemented
2010-10-17 20:04:17 -07:00
Mike Macgirvin
9dc0e659d6
issue #1 , need login link on profile pages
2010-10-09 00:45:09 -07:00
Mike Macgirvin
dda5195418
show members of locked conversations
2010-09-29 22:11:26 -07:00
Mike Macgirvin
1105cdb065
configurable logo banner
2010-09-26 16:56:45 -07:00
Mike Macgirvin
65a420b227
theme cleanup
2010-09-18 21:11:18 -07:00
Mike Macgirvin
e0045a43e2
mongo checkin, global directory, redir rework, location basics
2010-08-19 04:59:31 -07:00
Mike Macgirvin
8f83c4ab64
make rego button business compliant
2010-08-14 17:06:32 -07:00
Mike Macgirvin
050be99034
added friend viewer
2010-07-28 18:24:07 -07:00
Mike Macgirvin
fac6e7e60b
link email to nav
2010-07-28 04:46:44 -07:00
Mike Macgirvin
aaa06c57e6
i18n nav menu
2010-07-28 04:13:26 -07:00
Mike Macgirvin
e15265be3c
start at i18n
2010-07-26 22:48:08 -07:00
Mike Macgirvin
466267fbb5
lotsoflittlestuff
2010-07-20 05:21:19 -07:00
Mike Macgirvin
ba8da761e6
more cleanup - start on ajax
2010-07-19 22:52:31 -07:00
Mike Macgirvin
5e4df4b3f7
added network page
2010-07-16 17:16:50 -07:00
Mike Macgirvin
7a21a000a2
lots of little stuff
2010-07-11 02:52:47 -07:00
Mike Macgirvin
766b317070
some changes
2010-07-04 20:45:56 -07:00