[abandoned] Fork of online-bookmarks

Nichlas Severinsen 4098811092 Fixed importing пре 7 година
images ebc7e9b313 Making some nicer menu headers. пре 16 година
jquery 16d62ffdab Fixed jquery.js пре 7 година
lib 54557dfbc6 Removed unnecessary code in lib/auth.php пре 7 година
.gitignore 1d92982f73 Refactoring to PHP 7 пре 7 година
CHANGES df3f30f07a Getting rid of dangeros in export.php, import.php and folders.php. пре 16 година
COPYING 4b1ada5ed4 Reviving online-bookmarks as a fork; Online Bookmarks 2 (OB2) пре 7 година
INSTALL b07760dc66 initial version пре 16 година
README.md c6b3107d16 Edited README.md пре 7 година
VERSION df3f30f07a Getting rid of dangeros in export.php, import.php and folders.php. пре 16 година
admin.php 1d92982f73 Refactoring to PHP 7 пре 7 година
bookmark_add.php b07760dc66 initial version пре 16 година
bookmark_delete.php 1d92982f73 Refactoring to PHP 7 пре 7 година
bookmark_edit.php 1d92982f73 Refactoring to PHP 7 пре 7 година
bookmark_move.php 1d92982f73 Refactoring to PHP 7 пре 7 година
bookmark_new.php 1d92982f73 Refactoring to PHP 7 пре 7 година
bookmarks.php 1d92982f73 Refactoring to PHP 7 пре 7 година
change_password.php 120bc5e47a Changing design to mostly tableless code. пре 16 година
export.php 1d92982f73 Refactoring to PHP 7 пре 7 година
favicon.ico b07760dc66 initial version пре 16 година
favicon.php 1d92982f73 Refactoring to PHP 7 пре 7 година
folder_delete.php 1d92982f73 Refactoring to PHP 7 пре 7 година
folder_edit.php 1d92982f73 Refactoring to PHP 7 пре 7 година
folder_move.php 1d92982f73 Refactoring to PHP 7 пре 7 година
folder_new.php 120bc5e47a Changing design to mostly tableless code. пре 16 година
folders.php 1d92982f73 Refactoring to PHP 7 пре 7 година
footer.php b07760dc66 initial version пре 16 година
header.php 504a21c148 Allow development mode пре 7 година
import.php 4098811092 Fixed importing пре 7 година
index.php 1d92982f73 Refactoring to PHP 7 пре 7 година
install.php 1d92982f73 Refactoring to PHP 7 пре 7 година
register.php 1d92982f73 Refactoring to PHP 7 пре 7 година
select_folder.php 1d92982f73 Refactoring to PHP 7 пре 7 година
settings.php 65c14667a8 *** empty log message *** пре 16 година
shared.php 1d92982f73 Refactoring to PHP 7 пре 7 година
sidebar.php 1d92982f73 Refactoring to PHP 7 пре 7 година
style.css da6b274b01 Fixed div height in shared.php пре 16 година

README.md

Online Bookmarks 2

What is it?

Online Bookmarks 2 (OB2) is a server-side PHP program designed as a personal online bookmarking system. Have a website that you want to store bookmarks on? OB2 is what you're looking for.

Features:

  • One click bookmark add button to browsers toolbar
  • Download and display favicons
  • Public bookmarks and folders
  • Folder structure in arbitrary depth
  • Multi-user
  • Import/export

Requirements

  • Webserver with PHP >= 4.3.0
  • MySQL >= 4.1 or MariaDB

Optionally:

  • ImageMagick for favicons

Setup

Installation

  1. Download OB2 and unpack the tarball in your webservers documentroot directory.
  2. Go to http://www.yourserver.com/online-bookmarks/ which will show installation instructions if /config/config.php is missing. Delete install.php after setting up.
  3. Try logging in!

Upgrade

  1. Move old files mv /path/to/online-bookmarks \ /path/to/online-bookmarks-backup
  2. Backup the database mysqldump --user=bookmarkmgr \ --password=password_of_bookmarkmgr \ bookmarks \ > /some/path/online-bookmarks-backup.sql
  3. Upgrade; do a regular install, the install script will take note of an existing install. Don't forget to copy favicons: cp -a /path/to/online-bookmarks-backup/favicons/* \ /path/to/online-bookmarks/favicons/

Bookmark any Homepage with one click

Open the "Settings" page in Online-Bookmarks you will find a bookmarklet link called bookmark. Drag this link to your browsers "Personal Toolbar" and a button with the correct settings will be created. The code beind the button is a simple JavaScript line. You can choose between opening the bookmarklet in a new window or in the same window.

History

Online Bookmarks 2 (OB2) is a fork of online-bookmarks written by Stefan Frech.

The original source code was stored in CVS but thanks to crap it was possible to convert it to Git.

Online-bookmarks was released as Free Software by Frech under the GPLv2. Online Bookmarks 2 will continue to release further changes under GPLv2.

Why?

Unlike another fork, openbookmark, OB2 does not aim to overhaul or add 'modern' (read: bloated) javascript libraries. In addition, the other fork did not convert the CVS repository to Git, effectively removing the true history of online-bookmarks in their fork. In addition, openbookmarks uses the term "Open Source" when even the creator of online-bookmarks - Stefan Frech - uses the term "Free Software", as well as not adding proper licensing to neither COPYING/LICENSE or source files.

Attribution

Copyright © 2008 Stefan Frech

Copyright © 2017 Nichlas Severinsen

Development

Clone this repo and cd into it.

You're gonna need an empty favicon folder, as well as ImageMagick installed, if you've enabled favicon. In addition you need a config/config.php file, you have to make it yourself. We might consider making the file ourselves if PHP supports it.

Add $development = true; in config/config.php to circumvent the 'you have to remove install.php' message.

Then just run

php -S localhost:8000

TODO

  • Add COPYING
  • Better README
  • CRITICAL - ONGOING - Fix for php7..
  • URGENT - switch md5 out with bcrypt
  • Check for and remove any proprietary parts (probably none)
  • Proper GPL usage
  • Remove unnecessary Javascript
  • Redesign UI & CSS
  • Add tests (if possible)
  • Proper commenting and docstrings
  • Decide on (small) css framework to replace old styles, alternatives: