Stefan Parviainen
aa73259a47
Fancy categories input with bootstrap-tagsinput
2014-12-21 12:42:07 +01:00
friendica
6d8214f96b
provide link to help for channel permission roles when creating a channel
2014-12-19 01:48:47 -08:00
friendica
f113984d69
essentials for creating a "block-style" list-mode page such as one might have for a pinterest-style layout. Just load view/theme/redbasic/css/blockmode.css after redbasic PCSS - you're done. We may need some other indicator besides the number of comments to indicate "click here to see the rest of the article", but we're a bit short on space so maybe a view icon will work.
2014-12-16 23:40:52 -08:00
friendica
2fcbb9c4b3
fix some directory anomolies
2014-12-16 18:33:16 -08:00
friendica
07e747ed0e
add divmore to directory entries
2014-12-16 17:29:16 -08:00
friendica
7bee4e5997
build a channel based thread viewing link when in list_mode and when using the channel module, which will disable list_mode (this was checked in yesterday) for the benefit of viewing threads with the correct identities and comment permissions instead of relying on the semi-random uid chosen by mod/display when viewed by an authenticated remote_user().
2014-12-16 14:12:40 -08:00
friendica
2e990743e7
Merge https://github.com/friendica/red into pending_merge
2014-12-15 14:37:57 -08:00
friendica
f28103d595
wall tags
2014-12-15 14:37:31 -08:00
Thomas Willingham
c6d0695edf
Issue #743
2014-12-15 19:32:28 +00:00
Thomas Willingham
049f08e6ad
Merge pull request #744 from pafcu/searchhelp
...
Add hint on how to use search box
2014-12-15 14:53:25 +00:00
Stefan Parviainen
ce88f0ab6a
Add hint on how to use search box
2014-12-14 18:40:59 +01:00
Stefan Parviainen
0f169a1427
Add extra class to verified item icon
2014-12-14 12:25:08 +01:00
Thomas Willingham
76fdfb7ef5
Merge pull request #738 from pafcu/moreids
...
Add some ids to nav elements
2014-12-13 16:40:13 +00:00
Thomas Willingham
5fac8e80de
Issue #739
2014-12-13 15:00:00 +00:00
Stefan Parviainen
513efc8928
Add some ids to nav elements
2014-12-12 16:27:45 +01:00
marijus
960c35bad3
move profile css to mod_profile and minoor fixes
2014-12-11 11:44:46 +01:00
marijus
b86c4156fc
some work on profile page - mostly whitespace
2014-12-10 22:13:44 +01:00
marijus
cc365513ed
adjustment to clear browser location button only if use browser location option is set
2014-12-09 15:22:53 +01:00
marijus
242713ebef
show clear browser location button only if use browser location option is set and minor css fixes
2014-12-09 15:09:19 +01:00
Stefan Parviainen
e233e386b8
Group comment editor icons
2014-12-08 22:46:30 +01:00
Stefan Parviainen
d65ad03aec
Put some spacing between share types and other buttons in jot
2014-12-08 22:37:02 +01:00
Thomas Willingham
934172c2fc
Merge pull request #724 from pafcu/suggestionsindir
...
Show suggestions in directory
2014-12-08 13:34:56 +00:00
Thomas Willingham
99b5bef68e
Merge pull request #723 from pafcu/diropts
...
Directory sorting as a dropdown, forum filter as checkbox, option to sor...
2014-12-08 13:31:34 +00:00
Stefan Parviainen
c8818d8349
Suggestions in dir redux. Suggestions are now showed in directory if suggest=1 parameter is given to directory.
2014-12-07 13:40:21 +01:00
Stefan Parviainen
83ea120ac9
Revert "Revert "Directory shows channel suggestions by default""
...
This reverts commit bfde28f28e
.
2014-12-07 13:40:21 +01:00
Stefan Parviainen
647311db3e
Directory sorting as a dropdown, forum filter as checkbox, option to sort oldest first
2014-12-07 12:31:12 +01:00
Thomas Willingham
460d379e7e
Don't allow affinity of 0 in connedit.
2014-12-02 00:59:20 +00:00
friendica
3bb0ef8a82
Make events export track the current calendar. Turn it and 'new event' into buttons
2014-11-24 20:40:00 -08:00
friendica
756abd6678
add event export (this month) to event UI
2014-11-24 02:50:14 -08:00
friendica
79e5c2456b
add link to search forums in the directory
2014-11-23 18:54:33 -08:00
friendica
7fec939c23
couple of fixes:
...
- significantly increase the content availability on the discover channel
- fix the button group on the blog/list mode which made the border on a single comment button a bit wonky
2014-11-19 14:41:24 -08:00
friendica
3224848bad
turn the "adult photo flagging" (which prevents a particularly flagged photo from showing up in your top level albums) into a feature so it doesn't clutter the normal photo edit form. This feature was a quick hack and needs more work; but it could be important to somebody.
2014-11-18 19:02:28 -08:00
friendica
11f0b45a90
blog mode - turn the comment link into a button and group with the likes/dislikes
2014-11-18 16:58:36 -08:00
friendica
38d50cabd4
private mail buttons
2014-11-18 15:13:37 -08:00
RedMatrix
bfde28f28e
Revert "Directory shows channel suggestions by default"
2014-11-19 09:15:24 +11:00
RedMatrix
3917880673
Merge pull request #702 from pafcu/master
...
Directory shows channel suggestions by default
2014-11-19 09:06:36 +11:00
Stefan Parviainen
e0ab1e24e4
Directory shows channel suggestions by default
2014-11-18 19:42:13 +01:00
friendica
1d96e165e0
undo disabled submit buttons now that ACL is initialised when page loaded
2014-11-18 00:24:32 -08:00
friendica
db3015e34e
allow members to set the per-item "show more" height (separately for network and matrix, display and search are system pages and therefore set at 400)
2014-11-17 23:48:03 -08:00
friendica
064b48fa71
Merge https://github.com/friendica/red into pending_merge
2014-11-17 15:27:18 -08:00
friendica
c0ad4763b3
add unseen count and way to mark unseen to list mode. Also fix automatic mark of unseen so as to work with list mode.
2014-11-17 15:18:06 -08:00
RedMatrix
5aba2e82df
Merge pull request #695 from pafcu/master
...
Switch to a better datetime picker widget
2014-11-18 08:33:04 +11:00
Stefan Parviainen
e190adc589
Use new date selector for item expiry
2014-11-17 16:51:46 +01:00
friendica
acc8c69242
when in list mode, make the max height half of the normal height before 'divgrow' kicks in.
2014-11-16 19:33:58 -08:00
friendica
18cedf4def
blog/list mode display settings
2014-11-16 16:48:35 -08:00
friendica
cbaee76dd9
"list mode" (forum and blog mode, no comments or comment boxes displayed on the summary page)
2014-11-16 16:19:24 -08:00
friendica
3d55c9da86
buttonify some design elements that had not yet been buttonified
2014-11-13 18:51:30 -08: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
friendica
306f5d9cbe
let's try this without a timeout
2014-11-13 01:04:26 -08:00
marijus
1ed144b83c
make search and advanced search use the same input form
2014-11-12 10:27:13 +01:00
friendica
4b9ec6645b
cleanup
2014-11-11 20:44:43 -08:00
friendica
3fa003b5a8
add some subtle delineation to directory entries, remove forced link on homepage element (SECURITY)
2014-11-11 15:13:18 -08:00
marijus
d145ef2021
some work on directory widgets
2014-11-11 23:09:55 +01:00
friendica
0a84b45793
Merge https://github.com/friendica/red into pending_merge
2014-11-10 19:22:23 -08:00
friendica
d432f4ccd5
issue #683 - don't linkify homepage field without validating
2014-11-10 19:20:23 -08:00
RedMatrix
ecdfa0b96d
Merge pull request #686 from beardy-unixer/master
...
Add a new theme flag - library. Not directly available to be used itsel...
2014-11-11 13:40:03 +11:00
friendica
5619902776
indicate public forums in directory results (there will be some [possibly considerable] lag time before existing forums are correctly tagged).
2014-11-10 17:44:02 -08:00
Thomas Willingham
9ddf49c661
Add a new theme flag - library. Not directly available to be used itself but
...
installed as a lib for other themes. Like SDL, or GTK.
Get rid of mobility - it's better done with Comanche and schemas.
Describe themes instead of restricting them. Mobile themes can be used as
the desktop theme and vice-versa. This deals with the problem of "but my
device is something inbetween".
Presently not exposed to members.
2014-11-10 19:34:39 +00:00
friendica
2e695d1da2
menu page cleanup
2014-11-09 17:39:54 -08:00
RedMatrix
3730abb13a
Merge pull request #681 from pafcu/master
...
New layout for directory
2014-11-09 16:08:22 +11:00
Stefan Parviainen
28f3d7be5a
New layout for directory
2014-11-09 00:18:26 +01:00
friendica
7a8842f443
Merge https://github.com/friendica/red into pending_merge
2014-11-08 13:15:52 -08:00
friendica
adb5cec0d2
add acl loading fix to menu-item edits
2014-11-08 13:14:08 -08:00
marijus
862f0ff29a
prevent posting before acl got populated since this will disregard the default acl setting and the post will be visible to the default audience without warning. the chance that this happens is quite small while writing a post but can easily happen on eg editing photos (maybe just tick a checkbox and press submit). the acl and submit buttons are disabled by default and will be activated as soon as acl is populated.
2014-11-08 21:55:44 +01:00
Stefan Parviainen
b5fad9feef
Fix merge conflict
2014-11-08 20:53:41 +01:00
Stefan Parviainen
1a8fc73b57
Fix highlighting of login button
2014-11-08 20:06:08 +01:00
marijus
2cfe0f1545
provide lockstate for photo edit
2014-11-07 12:13:38 +01:00
friendica
1fbd1a79c7
Provide a way to mark photos as adult and hide them from the default album view. Still need a button or setting to enable "unsafe viewing". This has no effect anywhere but in the album views. They can still be viewed by flipping through the individual photos with 'prev' and 'next'. We probably need a comprehensive strategy for how to deal with n-s-f-w photos in albums so consider this a band-aid which requires additional work and integration with other facilities which access these photos. It is entirely optional.
2014-11-06 17:27:28 -08:00
friendica
038e7c8923
crude skeleton for location manager and the UI sucks but at least it's on a webpage and you don't have to do it by hand.
2014-11-05 18:39:10 -08:00
RedMatrix
9c9c18b4a6
Merge pull request #674 from pafcu/master
...
Fix duplicate element id
2014-11-06 06:48:06 +11:00
Stefan Parviainen
1a445a17d8
Fix duplicate element id
2014-11-05 17:19:46 +01:00
friendica
1896855c85
minor adjustments to make the form work as designed
2014-11-04 17:38:49 -08:00
friendica
d5d6158973
ok heads up - potentially destabilising change. I've tried to sort out all the default connection permissions for those who don't have a predefined (or therefore have a "custom") permissions role. Unfortunately this includes most people that were using this software more than a month ago. The real changes are that the SELF address book entry no longer holds "auto-permissions" but instead holds your "default permissions" (if you have a pre-defined role, the defaults will be pulled from the role table).
...
The auto permissions have moved to a pconfig (uid.system.autoperms). A DB update will move these settings into their new homes.
What used to be the "Auto-permissions settings" page is now the "default permissions settings" page and a checkbox therein decides whether or not to apply the permissions automatically. A link to this page will only be shown when you have the "custom" role selected.
With luck nobody will notice anything wrong. But at least for the next few days, please review permissions that have been assigned to new connections (either automatically or manually) and make sure they make sense (e.g. they aren't "nothing"). You still need to take action when seeing a message "permissions have changed but not yet submitted" as we always let you review and perhaps adjust the settings _before_ a connection is established (unless you have autoperms turned on).
2014-11-04 17:11:02 -08:00
friendica
ba7f1bb8ee
configurable visual alerts/notifications
2014-11-04 15:24:24 -08:00
marijus
73e645fe3d
class > id mixup
2014-11-04 09:35:39 +01:00
marijus
ba73b60177
missing </div>
2014-11-04 09:29:11 +01:00
friendica
fdb9b9d52e
Merge https://github.com/friendica/red into pending_merge
2014-11-03 14:51:28 -08:00
friendica
a6d8c3193a
various UI issues related to having an enormous number of entries in the posted_date selector including years/months that had no posts
2014-11-03 14:49:03 -08:00
marijus
1d923d2b0d
one </div> to much and css fixes
2014-11-03 12:54:17 +01:00
marijus
2f85d12a6c
if deleting a photo go away to album
2014-11-03 10:46:57 +01:00
marijus
8cfe8a5f25
css fixes
2014-11-02 19:36:28 +01:00
marijus
dc5e05d334
even more photos work
2014-11-01 23:55:36 +01:00
marijus
30281b161c
close the eventual open tool if the other opens
2014-11-01 20:30:13 +01:00
marijus
5d151b9886
do not reload page for photo upload
2014-10-31 20:25:43 +01:00
Thomas Willingham
5d1bb1b685
Smarty3 now lives in store
2014-10-31 16:09:46 +00:00
marijus
2982212797
more work on photo upload
2014-10-31 14:33:41 +01:00
marijus
0ff4d9015b
some work on photo upload
2014-10-30 14:10:55 +01:00
marijus
ec8bab7784
change the way tagrm works to allow tag removal on the fly
2014-10-28 11:56:00 +01:00
friendica
9cc76cb33d
several unrelated things - auto_follow wasn't working for new accounts, error returned in private mention to a collection, and added auto-completion to photo tags; though it only matches people so the hover text is now wrong. Also made the photo edit form XHTML (XML) compliant.
2014-10-27 19:23:40 -07:00
marijus
d192bcad65
do not reload page for edit album and some minor cleanup
2014-10-27 21:31:54 +01:00
friendica
655c3e1b47
put privacy role selector in settings page. Change visibility of various permissions items accordingly.
2014-10-26 19:32:12 -07:00
marijus
f2ccd37c8b
wrong vars in template
2014-10-26 21:50:20 +01:00
marijus
6497e78956
some work on photos like/dislike
2014-10-25 15:23:20 +02:00
friendica
1a9b8d4f0c
don't offer forum (@name+) completion in comments, since it won't do anything.
2014-10-23 22:00:16 -07:00
RedMatrix
3fb0354a55
Merge pull request #655 from pafcu/master
...
Better handling of incorrect info entered in event
2014-10-22 12:02:22 +11:00
Stefan Parviainen
c8666b9076
If entered event info is not valid, let user try again with the old info still there. Closes friendica/red#648
2014-10-21 18:28:47 +02:00
marijus
a03c3d5480
fix nav double dropdown
2014-10-21 13:43:14 +02:00
marijus
d02162ee83
minor correction and typo
2014-10-20 23:01:58 +02:00
marijus
c080c420ba
not quite there yet but getting closer
2014-10-20 22:46:14 +02:00
marijus
11e8fe3085
more work on photos
2014-10-20 15:05:33 +02:00
friendica
e414ed7782
link tag closed prematurely
2014-10-19 21:34:31 -07:00
friendica
bae3029c63
merge madness
2014-10-19 16:12:05 -07:00
friendica
7bbe700f3f
mark signature forgeries
2014-10-16 16:19:19 -07:00
Stefan Parviainen
e425def2a2
Merge branch 'master' of https://github.com/pafcu/red
2014-10-16 21:37:14 +02:00
Stefan Parviainen
6867a8a7f6
Login menu
2014-10-16 17:21:37 +02:00
friendica
ae9e1fa688
missing event permissions
2014-10-15 18:35:56 -07:00
marijus
04a254d94a
some work on single photo view comments
2014-10-15 22:23:38 +02:00
marijus
a7aa4efc08
Merge branch 'master' of https://github.com/friendica/red
2014-10-13 12:52:41 +02:00
marijus
c41f314302
really fix connedit > collection > checkbox
2014-10-13 12:52:21 +02:00
friendica
7abaccaf7f
bring back PM upload functionality and why oh why are we still loading tinymce?
2014-10-13 03:07:36 -07:00
marijus
030175bde6
fix connedit > collection > checkbox position
2014-10-12 14:31:51 +02:00
Thomas Willingham
82232c6916
Show tag in siteinfo. Not useful for us, quite useful for admins.
2014-10-11 17:24:58 +01:00
Thomas Willingham
d196e71962
Also that doesn't work anymore - prettyPhoto relic
2014-10-11 15:48:30 +01:00
Thomas Willingham
2b472b2b48
Give Redbasic the -styled back
2014-10-11 15:45:00 +01:00
Thomas Willingham
d54d62b601
Merge branch 'master' of https://github.com/friendica/red
2014-10-11 15:42:52 +01:00
Thomas Willingham
d132646915
Unbreak webpages
2014-10-11 15:42:31 +01:00
Jeroen
2ddd022540
+1
2014-10-11 14:39:56 +00:00
marijus
f8aabd376b
and more missing wrappers
2014-10-10 16:54:12 +02:00
marijus
d5ceb33f6d
found more missing wrappers
2014-10-10 16:13:44 +02:00
marijus
4e9bd8b8f0
This is a fix to not interfere the ongoing adding of .generic-content-wrapper with the ongoing styling of redbasic theme.
...
adding of .generic-content-wrapper is needed and useful for derivative themes but it should not contain any styling information for redbasic theme. therefor i added .generic-content-wrapper-styled as a quickfix for spots where redbasic is not finished yet.
Sidenote: please avoid opening a div in one *.tpl and close it in another or (even worse) open a div in a *.tpl and close it in an already templatified mod/*.php. This will really make the code and templates very, very confusing.
2014-10-10 15:52:56 +02:00
Jeroen
e06c3e5a91
Added and changed on some places div class generic-content-wrapper. And added to redbasic. Other thems can now also theme backgrounds of a lot of pages. I'm not completely done, but till now - this is it.
2014-10-09 14:54:04 +00:00
marijus
096fbdb31c
make nav-pills a bit smaller in height
2014-10-08 13:18:17 +02:00
marijus
289f57f79e
template for searchbox and some more work on saved searches
2014-10-08 12:36:26 +02:00
marijus
634c2ef8ce
nav pills for apps aside
2014-10-08 10:07:19 +02:00
marijus
e5d346cdc6
css fixes
2014-10-08 08:45:59 +02:00
friendica
fa75d43b81
add "stacked pills" to saved search term list (the delete icon is still a bit funky)
2014-10-07 20:31:15 -07:00
marijus
21eae4df9c
porting more widgets to bs nav-pills
2014-10-07 18:11:36 +02:00
marijus
d1dea61b79
take away some boldness, some css fixes and some photo work
2014-10-07 13:09:30 +02:00
Alexandre Hannud Abdo
55a937375d
datetimepicker data-format now data-date-format
2014-10-07 02:47:06 -03:00
friendica
e2f45a76b1
remove the privacy macros in settings and connedit now that we have privacy roles attached to the channel. One can still use the advanced permission dialogues, but they shouldn't have a reason to if they created the channel with a suitable channel type - plus it's just a bunch of extra permissions settings to confuse people.
2014-10-03 04:54:27 -07:00
marijus
df70c2c9b6
more work on photos
2014-10-02 21:04:50 +02: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
marijus
97c6ba77c7
some more work on photos
2014-09-28 23:14:49 +02:00
marijus
04e460c8f8
upload first but not inside another {{if}}
2014-09-26 19:34:39 +02:00
marijus
a7269e9d6e
upload should be first
2014-09-26 19:28:28 +02:00
marijus
f652fbdf74
fix blockquote
2014-09-26 19:17:02 +02:00
marijus
b948ab5955
some more work on photos - work in progress
2014-09-26 12:29:07 +02:00
friendica
1e7fbac6c1
doc updates, clean up buttons on PM edit template to match other edit buttons
2014-09-26 01:52:30 -07:00
friendica
d8c03526ed
optionally include wall items (posts) in import/export
2014-09-25 20:21:23 -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
9feb619bea
update jg to latest preview release and try once more to really justify the whole gallery
2014-09-20 15:40:40 +02:00
friendica
cb434818f8
closing tag
2014-09-19 16:50:43 -07:00
friendica
d4759a5883
repeated content collapse on update from display page under rare conditions (when the conversation hasn't changed)
2014-09-18 16:32:05 -07:00
friendica
22aa5aca14
add a spinner or two to the new channel page so folks have a clue that we're doing something in the background - trying to complete the nick field for them (and then check it before they submit).
2014-09-17 21:27:02 -07:00
friendica
51d9f0d97a
channel permission roles
2014-09-17 21:16:15 -07:00
Alexandre Hannud Abdo
5bdfc2f647
Fix name attribute of button elements so jquery '.submit()' doesn't break
...
According to "Additional notes" in:
http://api.jquery.com/submit/
Not fixing buttons created with 'input' tags.
2014-09-16 19:00:53 -03:00
Thomas Willingham
b5241c610f
Deprecate site channel. The sys channel should be doing this. Will fix
...
shortly.
2014-09-15 00:06:51 +01:00
Jeroen
254dc0ec98
Made link post titles to source optional in display settings. Hopefully I did a right.
2014-09-14 12:39:11 +00:00
RedMatrix
415be29261
Merge pull request #592 from jeroenpraat/master
...
Issue #590 : Linked conversation titles to source.
2014-09-13 19:24:01 +10:00