Josh Woody
ed0a26ab16
[ticket/9510] Unable to copy permissions from and to forums you cannot see
...
This commit fixes the bug mentioned, plus a large number of regressions caused by changing the behavior of make_forum_select() (in svn r10427, dated Jan 18, 2010). It also rolls back the changes from branch "bug/58415", which are no longer needed.
PHPBB3-9510
2010-05-16 18:19:28 +02:00
Joas Schilling
d8b4c0db0c
[ticket/9546] Also delete bookmarks, when a topic is deleted.
...
PHPBB3-9546
2010-05-16 17:47:05 +02:00
Andreas Fischer
2ec1d92388
Fix Bug #57375 - Do not delete unrelated attachments when deleting empty forums.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10526 89ea8834-ac86-4346-8a33-228a782c2dd0
2010-02-23 18:52:06 +00:00
Andreas Fischer
c6e176d88e
Add sql_bit_or() dbal method. Add ability to enable quick reply in all forums. -- Voila ;-)
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10491 89ea8834-ac86-4346-8a33-228a782c2dd0
2010-02-15 15:04:44 +00:00
Nils Adermann
1802b9ff92
Support for Microsoft's Native SQL Server Driver for PHP - Patch by Chris Pucci at Microsoft [Bug #57055 ]
...
If you are using SQL Server, please try to test this new dbal so we can safely include it in 3.0.8. If you
want to try it on a current phpBB version you can apply the latest version of the patch to your board which
you can find attached to the bug tracker ticket (look in the comments for the latest version, the one in the
ticket itself is outdated): http://www.phpbb.com/bugs/phpbb3/ticket.php?ticket_id=57055
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10489 89ea8834-ac86-4346-8a33-228a782c2dd0
2010-02-11 00:02:51 +00:00
Josh Woody
d26f66703b
Fix #57395 , a regression from r10427
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10482 89ea8834-ac86-4346-8a33-228a782c2dd0
2010-02-07 01:04:10 +00:00
Josh Woody
ad14664a3a
- Bug #56255 - Moving topics to a forum where you are on queue
...
- Allow some error handling in compress class by returning false if file does not exist.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10427 89ea8834-ac86-4346-8a33-228a782c2dd0
2010-01-18 16:41:21 +00:00
Meik Sievertsen
a691f4c8bc
Fix sql error in cache_moderators() if using postgresql. (Bug #53765 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10260 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-11-09 16:23:15 +00:00
Meik Sievertsen
87e717ae87
Fix Bug #53245 - Correct regular expression escaping and only splitting keywords on space and "|"
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10240 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-10-28 15:10:32 +00:00
Andreas Fischer
13e8898563
Return integers when get_forum_list() is supposed to only return IDs.
...
This will save us some calls to the sql escape function when used with sql_in_set().
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10159 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-09-17 13:44:50 +00:00
Meik Sievertsen
1df914d80a
fix uninitialised variable in functions_admin.php (Bug #51295 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10146 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-09-15 12:58:23 +00:00
Andreas Fischer
df86a1b27c
Some smaller changes to r10041.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10112 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-09-06 23:59:35 +00:00
Meik Sievertsen
17f40511bf
Make sure only logs for existing users are displayed and user-specific logs removed on user deletion. (Bug #49855 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10053 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-25 09:07:26 +00:00
Jim Wigginton
70c4e48b39
- accidentally undid changes introduced in r9979
...
- removed a few lines from the old log filtering system
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10042 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-22 02:56:05 +00:00
Jim Wigginton
69aa05376b
- replaced the drop down menu log filter thing with log searching
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10041 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-21 21:47:19 +00:00
Andreas Fischer
a6bf9b4e4a
Some things I missed in r9887.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9979 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-14 11:15:44 +00:00
Meik Sievertsen
09ad10a734
ok, i am very sorry, but this needs to be fixed.
...
Generally, our config table is not really suited for holding large datasets. Because feed settings for the forums to enable news feeds and excluded forums rely on the forums itself we have decided to introduce a forum_options table where custom options can be stored.
Additionally, for this to work across all DBMS we support, we added a new method to the DBAL for the bitwise AND operator.
Also moved the forum/topic feed template variable to the location where they belong to (forum and topic view)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9965 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-12 15:00:47 +00:00
Henry Sudhof
d2c818ffb9
add transactions to sync(); not one big one to avoid nesting.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9937 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-07 13:02:14 +00:00
Meik Sievertsen
2958890439
Apply locale-independent basename() to attachment filenames. New function added: utf8_basename(). (Bug #43335 - Patch by ocean=Yohsuke)
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9905 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-01 12:28:50 +00:00
Andreas Fischer
1b8a1f73d7
[Feature] Ability to copy permissions from one forum to several other forums.
...
[Fix] Add log entry when copying forum permissions.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9887 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-28 22:09:46 +00:00
Marek A. R
da169625a6
- Display version check on ACP main page.
...
- Cache version check.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9880 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-28 13:58:01 +00:00
Chris Smith
986576e245
Fix an SQL error
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9872 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-27 12:57:29 +00:00
Meik Sievertsen
4739c7ba39
[Feature] Added new functionality to inactive users module:
...
- Ability to set users per page.
- Ability to sort by posts/number of reminders/last reminded date.
- Show number of posts and ability to search posts.
- Show number of reminders sent to user.
- Show date of last reminder sent to user.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9845 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-24 11:13:32 +00:00
Joas Schilling
780854818b
Fix bug #48265 - Correctly set attachment flag for topics, posts and pms after deleting attachments - Patch by WorldWar and nickvergessen
...
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9843 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-24 09:01:29 +00:00
Jim Wigginton
b3767cd143
- added filtration ability to MCP
...
- added missing lang variable
- fixed a pagination bug in filtration routines
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9800 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-20 00:57:18 +00:00
Jim Wigginton
b6a1271c3a
- added ability to filter logs by log_operation
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9781 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-18 19:19:38 +00:00
Meik Sievertsen
ffa5a33702
erm, yes... ground should be group
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9651 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-22 09:29:22 +00:00
Meik Sievertsen
d7d96223e7
- Display coloured usernames in ACP groups management screens
...
- Changed behaviour of group_create() function to support specifying additional group columns
- New groups option to excempt group leaders from group permissions
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9625 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-19 09:51:50 +00:00
Joas Schilling
afddcaecf2
fix r9605
...
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9606 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-17 12:15:54 +00:00
Joas Schilling
7b0d5c0164
Fix bug #41555 - Fix function to recalculate Binary Tree
...
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9605 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-17 10:40:32 +00:00
Chris Smith
4758d49b9b
view_log() breaks if the serialized data is corrupt. #46545
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9589 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-14 10:53:08 +00:00
Andreas Fischer
2af8393d0f
Fix bug #45705 - Show error in the ACP when template folder is not readable.
...
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9565 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-08 22:33:30 +00:00
Meik Sievertsen
e35b5c26e6
Fix skipping messages if using next/prev PM in history links. (Bug #22205 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9441 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-12 13:21:25 +00:00
Meik Sievertsen
77fcc367e2
SQL optimizations
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9439 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-11 11:10:07 +00:00
Meik Sievertsen
e461162847
Fix race condition for updating post/topic/etc. counter. (reported by BartVB)
...
please do not try such fixes at home - the correct solution would be to create a second config table with integer columns. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9398 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-19 17:01:59 +00:00
Chris Smith
b933bc87e2
Deleting private message attachments could delete post attachments. #42815
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9379 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-16 22:39:37 +00:00
Chris Smith
b9bf3dafd3
Fix a bug in r8908
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9065 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-13 17:32:55 +00:00
Chris Smith
687da94982
Log the forum name that topics are moved into.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8908 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-23 12:01:26 +00:00
Meik Sievertsen
e12fce5f3d
Correctly delete message attachments. (Bug #23755 ) Also revamped and simplified delete_attachments() - it looks like we did not touch it for a long long time.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8890 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-19 15:39:43 +00:00
Chris Smith
aa6c728e6f
Do not decrease topics counter when deleting shadow topics. #26495
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8836 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-07 17:10:43 +00:00
Meik Sievertsen
2fcd96ca72
Ok, story real database server info, as well as caching it
...
Store it on installation too - allows us to check the db version used on installation and used currently to warn the user about incompatibilities
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8814 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-04 12:01:47 +00:00
Meik Sievertsen
5c4870fcce
Fix one design failure in phpBB3. Do not count non-approved posts to the user_posts. Before, a user was able to circumvent basically any protection based on post counts.
...
At the same time implement the queue_trigger feature.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8805 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-02 06:36:24 +00:00
Meik Sievertsen
d7fa3f83ce
The same way we allow defining a custom template/style path we now allow this for languages too.
...
This will allow applications to define their own language folder for certain parts for example.
Callable by $user->set_custom_lang_path({new_path})
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8782 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-08-23 17:20:55 +00:00
David M
3cced0db7e
fix whitespace
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8508 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-04-20 04:58:29 +00:00
David M
3e64e9b899
#14648
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8506 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-04-20 04:47:37 +00:00
Meik Sievertsen
6accc46024
some language/style/code fixes (refer to the diff of the changelog)
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8389 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-02-23 13:18:33 +00:00
Meik Sievertsen
9e55e17388
revamp how we query permissions. This is half-experimental actually, needs a bit of testing.
...
Should fix the bug with low max_join_size values, but may give problems for those on very low memory settings.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8384 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-02-15 19:10:02 +00:00
Meik Sievertsen
9b751a330d
- Re-populate arrays on cache purge/save to allow re-using some functions without warnings
...
- fix the annoying "last page empty" bug on inactive users page.
git-svn-id: file:///svn/phpbb/trunk@8239 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-11-17 12:14:27 +00:00
Meik Sievertsen
8c26e780e3
- fix pm not_moved/removed retrieval (it was switched)
...
- cache db-size retrieval (saves a lot of seconds for very large boards)
git-svn-id: file:///svn/phpbb/trunk@8231 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-11-07 10:45:38 +00:00
Meik Sievertsen
e6c79242e6
dumdidum... sorry. ;)
...
git-svn-id: file:///svn/phpbb/trunk@8146 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-10-05 14:30:11 +00:00