Skip to content

Commit 9f1150c

Browse files
committed
initial commit
0 parents  commit 9f1150c

File tree

158 files changed

+10258
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+10258
-0
lines changed

Documentation/Documentation.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Documentation is available at:
2+
https://phpsearch.com/page/documentation
3+
4+
shared on
5+
codelist.cc

How to Update/1.1.0.txt

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
How to update from phpSearch v1.0.0 to v1.1.0
2+
----------------------------------------------------------------------------
3+
---------------------------------- FTP -------------------------------------
4+
Upload and replace the following files on your server:
5+
6+
/app/models/Admin.php
7+
/app/controllers/web.php
8+
/app/includes/info.php
9+
/app/languages/english.php
10+
/app/libraries/HexConverter.php
11+
12+
/public/themes/search/assets/css/style.css
13+
/public/themes/search/views/web/ia/base64.php
14+
/public/themes/search/views/web/ia/hex_color.php
15+
/public/themes/search/views/web/ia/md5.php
16+
/public/themes/search/views/web/ia/reverse_text.php
17+
/public/themes/search/views/web/ia/sort.php
18+
19+
----------------------------------------------------------------------------
20+
--------------------------------- Changelog --------------------------------
21+
- Added new Instant Answer (Hex Color): "#009C5E"
22+
- Added new Instant Answer (Sort numbers): "sort ascending 5, 1, 3"
23+
- Added new Instant Answer (MD5 hashing): "md5 example"
24+
- Added new Instant Answer (base64 encode/decode): "base64 encode example"
25+
- Added new Instant Answer (Reverse text): "reverse text example"
26+
- Fixed the Admin Password not updating when being changed
27+
- Other minor improvements

How to Update/1.2.0.txt

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
How to update from phpSearch v1.1.0 to v1.2.0
2+
----------------------------------------------------------------------------
3+
---------------------------------- FTP -------------------------------------
4+
Upload and replace the following files on your server:
5+
6+
/app/controllers/admin.php
7+
/app/controllers/videos.php
8+
/app/controllers/web.php
9+
/app/languages/english.php
10+
/app/libraries/Input.php
11+
/app/libraries/Session.php
12+
/app/middleware/UserSettings.php
13+
14+
/public/themes/search/assets/css/style.css
15+
/public/themes/search/assets/images/icons/* (all files)
16+
/public/themes/search/assets/js/functions.js
17+
/public/themes/search/views/images/search_results.php
18+
/public/themes/search/views/shared/footer.php
19+
/public/themes/search/views/shared/search_bar.php
20+
/public/themes/search/views/videos/search_results.php
21+
22+
----------------------------------------------------------------------------
23+
--------------------------------- Changelog --------------------------------
24+
- Migrated the iconography to SVG format
25+
- Improved cookies validation
26+
- Improved translation
27+
- Other minor improvements

How to Update/1.3.0.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
How to update from phpSearch v1.2.0 to v1.3.0
2+
----------------------------------------------------------------------------
3+
---------------------------------- FTP -------------------------------------
4+
Upload and replace the following files on your server:
5+
6+
/app/languages/english.php
7+
8+
/public/themes/search/assets/css/style.css
9+
/public/themes/search/views/admin/content.php
10+
/public/themes/search/views/home/content.php
11+
/public/themes/search/views/images/content.php
12+
/public/themes/search/views/info/content.php
13+
/public/themes/search/views/preferences/content.php
14+
/public/themes/search/views/shared/header.php
15+
/public/themes/search/views/shared/search_bar.php
16+
/public/themes/search/views/videos/content.php
17+
/public/themes/search/views/web/content.php
18+
----------------------------------------------------------------------------
19+
--------------------------------- Changelog --------------------------------
20+
- Improved translation
21+
- Other minor improvements

How to Update/1.4.0.txt

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
How to update from phpSearch v1.3.0 to v1.4.0
2+
----------------------------------------------------------------------------
3+
--------------------------------- MySQL ------------------------------------
4+
Log-in into phpMyAdmin (or your MySQL database) and on the SQL tab run the following queries:
5+
6+
INSERT INTO `settings` (`name`, `value`) VALUES ('ads_safe', '0');
7+
INSERT INTO `settings` (`name`, `value`) VALUES ('search_per_ip', '100');
8+
INSERT INTO `settings` (`name`, `value`) VALUES ('search_time', '86400');
9+
INSERT INTO `settings` (`name`, `value`) VALUES ('timezone', '');
10+
CREATE TABLE `search_limit` ( `ip` VARCHAR(39) NOT NULL , `count` INT NOT NULL , `updated_at` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , PRIMARY KEY (`ip`)) ENGINE = InnoDB;
11+
12+
----------------------------------------------------------------------------
13+
---------------------------------- FTP -------------------------------------
14+
Upload and replace the following files on your server:
15+
16+
/app/controllers/admin.php
17+
/app/controllers/images.php
18+
/app/controllers/info.php
19+
/app/controllers/videos.php
20+
/app/controllers/web.php
21+
/app/core/Controller.php
22+
/app/helpers/salt.php
23+
/app/includes/info.php
24+
/app/languages/english.php
25+
/app/middleware/Authorize.php
26+
/app/models/Admin.php
27+
/app/models/SearchLimit.php
28+
29+
/public/themes/search/assets/css/style.css
30+
/public/themes/search/views/admin/ads.php
31+
/public/themes/search/views/admin/general.php
32+
/public/themes/search/views/admin/search.php
33+
/public/themes/search/views/images/search_results.php
34+
/public/themes/search/views/preferences/search.php
35+
/public/themes/search/views/videos/search_results.php
36+
/public/themes/search/views/web/search_results.php
37+
/public/themes/search/info.php
38+
39+
----------------------------------------------------------------------------
40+
------------------------------- CHANGELOG ----------------------------------
41+
- Added Safe Ads functionality (show ads only when using Strict SafeSearch)
42+
- Added Searches per IP limitation support
43+
- Added custom Timezone support
44+
- Improved security
45+
- Other minor improvements

How to Update/1.5.0.txt

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
How to update from phpSearch v1.4.0 to v1.5.0
2+
-----------------------------------------------------------------------
3+
---------------------------------- FTP -------------------------------------
4+
Upload and replace the following files on your server:
5+
6+
/app/controllers/web.php
7+
/app/includes/info.php
8+
/app/languages/english.php
9+
/app/libraries/LoremIpsum.php
10+
/app/libraries/MorseCode.php
11+
12+
/public/themes/search/assets/css/style.css
13+
/public/themes/search/assets/js/functions.js
14+
/public/themes/search/views/web/ia/ (all files)
15+
/public/themes/search/info.php
16+
17+
----------------------------------------------------------------------------
18+
------------------------------- CHANGELOG ----------------------------------
19+
- Added new Instant Answer (lowercase/uppercase): "lowercase example"
20+
- Added new Instant Answer (screen resolution): "my screen resolution"
21+
- Added new Instant Answer (leap year): "is 2020 a leap year?"
22+
- Added new Instant Answer (morse code): "morse code example"
23+
- Added new Instant Answer (pi): "pi"
24+
- Added new Instant Answer (unix time): "unix time 0000000000000"
25+
- Added new Instant Answer (lorem ipsum): "lorem ipsum 10"
26+
- Fixed an issue with the "date" Instant Answer
27+
- Other minor improvements

How to Update/1.6.0.txt

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
How to update from phpSearch v1.5.0 to v1.6.0
2+
-----------------------------------------------------------------------
3+
---------------------------------- FTP -------------------------------------
4+
Upload and replace the following files on your server:
5+
6+
/app/includes/info.php
7+
/app/includes/init.php
8+
9+
/public/index.php
10+
/public/themes/search/views/admin/menu.php
11+
/public/themes/search/info.php
12+
13+
----------------------------------------------------------------------------
14+
------------------------------- CHANGELOG ----------------------------------
15+
- Improved the way sessions are saved
16+
- Other minor improvements

How to Update/2.0.0.txt

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
How to update from phpSearch v1.6.0 to v2.0.0
2+
----------------------------------------------------------------------------
3+
--------------------------------- MySQL ------------------------------------
4+
Log-in into phpMyAdmin (or your MySQL database) and on the SQL tab run the following queries:
5+
6+
INSERT INTO `settings` (`name`, `value`) VALUES ('news_per_page', '0');
7+
INSERT INTO `settings` (`name`, `value`) VALUES ('search_answers', '1');
8+
INSERT INTO `settings` (`name`, `value`) VALUES ('search_related', '1');
9+
INSERT INTO `settings` (`name`, `value`) VALUES ('search_suggestions', '0');
10+
INSERT INTO `settings` (`name`, `value`) VALUES ('suggestions_per_ip', '300');
11+
UPDATE `settings` SET `value` = 10 WHERE `name` = 'web_per_page';
12+
CREATE TABLE `suggestions_limit` ( `ip` VARCHAR(39) NOT NULL , `count` INT NOT NULL , `updated_at` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , PRIMARY KEY (`ip`)) ENGINE = InnoDB;
13+
14+
----------------------------------------------------------------------------
15+
---------------------------------- FTP -------------------------------------
16+
Upload and replace the following files on your server:
17+
18+
All files except the /app/includes/config.php file.
19+
20+
----------------------------------------------------------------------------
21+
------------------------------- CHANGELOG ----------------------------------
22+
- Added News search type
23+
- Added Auto Suggest for the search box
24+
- Added Images, Videos and News (Search Answers) results for the Web results
25+
- Added Related Searches for the Web results
26+
- Added Image Preview Pane for Images Search
27+
- Added Query Spelling for the Web Results
28+
- Added deep URLs when available for the Web Results
29+
- Added a new Search Filter for Images: License
30+
- Reworked the header (improved UI and UX)
31+
- Reworked the filters menu (improved UI and UX)
32+
- Updated the jQuery library to the latest version
33+
- Improved the Instant Answer query evaluator (now supports unlimited triggers)
34+
- Other minor improvements

How to Update/3.0.0.txt

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
How to update from phpSearch v2.0.0 to v3.0.0
2+
----------------------------------------------------------------------------
3+
--------------------------------- MySQL ------------------------------------
4+
Log-in into phpMyAdmin (or your MySQL database) and on the SQL tab run the following queries:
5+
6+
UPDATE `settings` SET `value` = 10 WHERE `name` = 'videos_per_page';
7+
8+
INSERT INTO `settings` (`name`, `value`) VALUES ('site_backgrounds', '1'), ('site_dark_mode', '0'), ('site_center_content', '0'), ('search_safe_search', 'Moderate'), ('search_new_window', '0'), ('search_highlight', 'false'), ('favicon', 'favicon.png'), ('logo_small', 'logo_small.svg'), ('logo_small_dark', 'logo_small_dark.svg'), ('logo_large', 'logo_large.svg'), ('logo_large_dark', 'logo_large_dark.svg'), ('search_entities', 1);
9+
10+
----------------------------------------------------------------------------
11+
---------------------------------- FTP -------------------------------------
12+
1. Make a back-up of /app/includes/config.php file.
13+
2. Re-upload all the files & folders
14+
3. Set CHMOD 777, 775 or 755 to /public/uploads/ and its subfolders
15+
4. Restore the credentials from your old config.php file to the new config.php.
16+
17+
Or do a clean install.
18+
19+
----------------------------------------------------------------------------
20+
------------------------------- CHANGELOG ----------------------------------
21+
- Added Home page backgrounds support
22+
- Added Entity for the Web Results (sidebar)
23+
- Added new Instant Answer (atbash): "atbash example"
24+
- Added left-aligned UI option with sidebar support
25+
- Added RTL language support
26+
- Added SVG support for logo images
27+
- Added small & large logo support
28+
- Added the ability to change various default Appearance and Search behavior in the Admin Panel
29+
- Improved the Videos results (video description now available on Desktop and Tablets)
30+
- Improved the Documentation (now available online)
31+
- Changed the default Safe Search option to "Moderate"
32+
- Changed how Safe Ads work (now ads will show for both "Moderate" and "Strict" Safe Search filter)
33+
- Fixed a rare case where specific results would not load the page
34+
- Fixed an issue with the Time Instant Answer not updating on time change

How to Update/4.0.0.txt

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
How to update from phpSearch v3.0.0 to v4.0.0
2+
----------------------------------------------------------------------------
3+
--------------------------------- MySQL ------------------------------------
4+
Log-in into phpMyAdmin (or your MySQL database) and on the SQL tab run the following queries:
5+
6+
INSERT INTO `settings` (`name`, `value`) VALUES ('search_privacy', '0');
7+
8+
----------------------------------------------------------------------------
9+
---------------------------------- FTP -------------------------------------
10+
Upload and replace the following files on your server:
11+
12+
/app/controllers/admin.php
13+
/app/helpers/format.php
14+
/app/includes/info.php
15+
/app/languages/english.php
16+
/app/libraries/Search.php
17+
/app/models/Admin.php
18+
19+
/public/themes/search/assets/js/functions.js
20+
/public/themes/search/views/admin/search.php
21+
/public/themes/search/views/images/rows.php
22+
/public/themes/search/views/news/rows.php
23+
/public/themes/search/views/videos/rows.php
24+
/public/themes/search/views/web/entities.php
25+
/public/themes/search/views/wrapper.php
26+
/public/themes/search/info.php
27+
/public/image.php
28+
29+
Or do a clean install.
30+
31+
----------------------------------------------------------------------------
32+
------------------------------- CHANGELOG ----------------------------------
33+
- Added Search Privacy support (no tracking, private search)
34+
- Other minor improvements

How to Update/4.1.0.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
How to update from phpSearch v4.0.0 to v4.1.0
2+
----------------------------------------------------------------------------
3+
---------------------------------- FTP -------------------------------------
4+
Upload and replace the following files on your server:
5+
6+
/app/controllers/web.php
7+
8+
Or do a clean install.
9+
10+
----------------------------------------------------------------------------
11+
------------------------------- CHANGELOG ----------------------------------
12+
- Fixed a rare case where the Next page button would be disabled even when results were available

How to Update/4.2.0.txt

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
How to update from phpSearch v4.1.0 to v4.2.0
2+
----------------------------------------------------------------------------
3+
---------------------------------- FTP -------------------------------------
4+
Upload and replace the following files on your server:
5+
6+
/app/includes/info.php
7+
8+
/public/themes/search/assets/css/style.css
9+
/public/themes/search/assets/js/jquery.js
10+
/public/themes/search/info.php
11+
12+
Or do a clean install.
13+
14+
----------------------------------------------------------------------------
15+
------------------------------- CHANGELOG ----------------------------------
16+
- Improved RTL support
17+
- Updated jQuery library to the latest version

How to Update/4.3.0.txt

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
How to update from phpSearch v4.2.0 to v4.3.0
2+
----------------------------------------------------------------------------
3+
---------------------------------- FTP -------------------------------------
4+
Upload and replace the following files on your server:
5+
6+
/app/includes/info.php
7+
8+
/public/themes/search/home/content.php
9+
/public/themes/search/info.php
10+
11+
Or do a clean install.
12+
13+
----------------------------------------------------------------------------
14+
------------------------------- CHANGELOG ----------------------------------
15+
- Fixed an issue with the logos not pointing to the correct path

0 commit comments

Comments
 (0)