History log of /web-master/manage/user-notes.php (Results 1 – 25 of 153)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9cfe978d 01-Apr-2021 Nikita Popov

Remove magic_quotes filter handling

The magic quotes filter is now disabled.


# 81b302aa 01-Apr-2021 Nikita Popov

Finish migration to safe queries


# cb44bbe5 01-Apr-2021 Nikita Popov

Fix a typo


# 1a08ce75 01-Apr-2021 Nikita Popov

Migrate more code to safe query abstraction

Getting closer to done...


# 6135e250 01-Apr-2021 Nikita Popov

Move more queries to safe abstraction

Add a Query class to assemble queries by parts, and ?int placeholder
which is needed for LIMIT clauses.


# 105450fc 01-Apr-2021 Nikita Popov

Remove alerts functionality

This was never used, and is in a broken state right now (references
an incorrect database schema).

It seems rather unlikely that this functionality i

Remove alerts functionality

This was never used, and is in a broken state right now (references
an incorrect database schema).

It seems rather unlikely that this functionality is going to be
finished at this point, so instead drop it entirely.

show more ...


# ed931f77 01-Apr-2021 Nikita Popov

Add safe(r) query abstraction

Add db_query_safe that accepts parameters separately. Use it in
some places.


# 5b8719f2 01-Apr-2021 Nikita Popov

Don't handle full_special_chars default.filter

default.filter on this server is set to magic_quotes, so remove
the handling for the full_special_chars case.


# c8506579 31-Mar-2021 Nikita Popov

Remove get_magic_quotes_gpc() checks

master.php.net runs PHP 5.4, where magic quotes no longer exist.
Add a sanity check that they're really disable, and drop code
handling them. The

Remove get_magic_quotes_gpc() checks

master.php.net runs PHP 5.4, where magic quotes no longer exist.
Add a sanity check that they're really disable, and drop code
handling them. There was at least one use of escape() that wouldn't
do the right thing if this code was run with magic quotes.

show more ...


# 48cb59d3 30-Jan-2021 Rasmus Lerdorf

A bit of PHP 7.4/8.0 cleanup


# e471466e 19-Apr-2020 Sobak

Final attempt to fix pagination?


# b8cf248d 19-Apr-2020 Sobak

Push temporary hidden debug message to help resolve pagination issue


# f2ba4f0a 19-Apr-2020 Sobak

Notes: fixing pagination requires one more change


# 5cd67ead 19-Apr-2020 Sobak

Notes: fix pagination

I feel like this empty() check is also incorrect in other places but I
don't know how to reproduce the potential issue so maybe better it's
to not touch it.


# e189db3d 19-Apr-2020 Sobak

Notes: display voting stats on a separate page

Perhaps it's handy for some people but nowadays amount of records it has
to query made the main notes page load a couple of seconds so let'

Notes: display voting stats on a separate page

Perhaps it's handy for some people but nowadays amount of records it has
to query made the main notes page load a couple of seconds so let's live
with having it one click away.

show more ...


# 2b82952b 19-Apr-2020 Sobak

Notes: sort out view=notes vs view=notes

It looks like the actual value of view doesn't change anything, only its
presence matters. However, if we are going to ever use that in the
f

Notes: sort out view=notes vs view=notes

It looks like the actual value of view doesn't change anything, only its
presence matters. However, if we are going to ever use that in the
future it's better to have it consistent.

Plus it simply bothered me :)

show more ...


# 0e511803 10-Dec-2018 Peter Kokot

Refactor long array() syntax to short []

Since app is using PHP 5.4+ already, the longer `array()` syntax can be
refactored to shorter `[]`.


# ed329ef2 04-Dec-2016 Sobak

Allow to search notes within a specfified section


# 48fd4fb6 04-Dec-2016 Sobak

Only show link if user can use it


# ab707a8a 04-Dec-2016 Sobak

Paginate note search results instead of showing last 20


# 4c0378e7 04-Dec-2016 Sobak

Use native search form supported by web-shared


# 83bfdbe4 04-Dec-2016 Sobak

Add heading for current view


# 01816565 27-Apr-2016 philip

I misread the schema. arating is the key here.


# df77530b 26-Apr-2016 philip

Order by 'up' which is the sum of all 1 and -1 votes. The 'rate' feels a bit bogus, so let's skip it when finding good/bad notes


# b75fa9c0 11-Jun-2014 kovacs.ferenc

enforce types for numeric vars


1234567