GithubHelp home page GithubHelp logo

touch-irc's People

Contributors

avocadovenom avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

andrecurvello

touch-irc's Issues

UI, display & ActionBarSherlock

First of all : ABS has to be implemented (changing imports & adapting the code)

the actionMode & actionBar must be more esthetic.

The status of the default profile / auto-connected server has to be easier to see.

Resources : Icons

  • App Icon โŽ
  • ConnectedServersFragment icons ๐Ÿ†—
  • ChannelListUsers icons ๐Ÿ†— but only in one res'
  • Add if you need others icons :)

Link between servers and profiles

Based on the rule :
A server is linked to 1 (and only 1) profile
A profile can be associated to several servers

The link has to be efficient at 2 levels :

  • view : we can check & handle the links
  • database : create functions which can be used to interact with the database and to controls the view

Regex

Server Hostname, port

Profile nicknames, realname, username

Also add a regexp on server's port to avoid this error :

java.lang.NumberFormatException: Invalid int: "098679466464"

Status Users

Use method to change imageView according to the status of the user

Nicknames

On a "Save Instance" :
Auto-complete on 2nd/3rd nicknames.

Add just a suffix ONLY IF INPUTS ARE EMPTIES.

On

Fixe errors due to changing of data's structure

In ExistingProfilesActivity, since we change the profiles' list
ArrayList --> SparseArray

Some errors appear like instantiation of the ProfileAdapter and later when we use the ArrayList (which is now a SparseAarray)

Conversation* : Receive and Send messages

Ability to :

  • Receive Messages ๐Ÿ†—
  • Color Messages
  • View time of messages ๐Ÿ†—
  • Send message ๐Ÿ†—
  • Check if the user enter a command and handle it !
  • Swipe between fragments :) ๐Ÿ†—

TODO - Synthaxe

Please rewrite all "name" or "id" in camelCase.

  • res/values/strings.xml

Server Manager

We need a "server manager" ! ๐Ÿ˜„

For backend part :

  • Create structure to save server parameters
  • Ability to save servers into a "list"
  • Add/Delete/Modify a server

For UI part :

  • List all servers in one view
  • Add/Delete/Modify options
  • Show connection state of a server (connected/disconnected/away)
  • Ability to connect/disconnect to a server

Profile feature

โ„น๏ธ Informations

A profile in Touch IRC is used when you connect to a server.
It is composed of :

  • Title (profil name)
  • Nickname, 2nd Nickname and 3rd Nickname
  • Username
  • Real name
  • NickServ password
  • Commands to execute when you connect to a server

Backend part

  • Create the structure of a profile
  • Add/Modify/Delete
  • Attach a profil to a server

Frontend part

  • Profile manager (Create, modify, delete, assign)
  • Wizard for first profile creation

Activities

Should be like this :

  • ProfileActivity : show list of profiles (can delete a profile)
  • ProfileEditActivity : add/modify view
  • ProfileWizardActivity

TouchIrc class

Permit to access to :

  • get the default profile (?)

/* DONE */

  • add/remove a profile or a server
  • list of available servers
  • list of available profiles
  • edit a profile or a server
  • save the link between server and profile

To do that refactor the Database :

  • Use the ID to edit/delete a profile/server
  • the linked profile server table is it still needed ? If not delete it !

Option Autoconect for a server

--------- TODO ---------

Backend

Launch the the connection for autoconnected servers
The Database must have column autoconect in the server's table
Delete :

  • "public int nameAutoConnectedServer()" in db/Database&
  • "public boolean setAutoConnect(String newAutoConnectedServerName)" in db/Database

--------- Things afer are DONE ---------

Server Model must have an attribute AutoConnect (boolean)
The Database must have column autoconect in the server's table
Delete :

  • "public int nameAutoConnectedServer()" in db/Database
  • "public boolean setAutoConnect(String newAutoConnectedServerName)" in db/Database

UI

Allow the user to enable the autoconnect and disable it

Display of toast

Using resources to display message.

In toast, using R.string.aValue displays the resource's id instead of its value.

Bugs on CreateServer

  • Disable autocorrect on Hostname field
  • Use the correct inputType, textUri I think
  • Add at the top right hand corner a button to save the form

Fix infinite loops on clicking on IRC-notification

Please fixe the following problem :

When you click on the notification, then you go to the conversationActivity and you can't "leave" this activity.

You need to implement the onKeyDown (back button) and onOptionItemSelected (App Icon) methods.

You can see the others activities to help you :)

Create Conversation view

First, add a display for all sent messages with some features :

  • Highlight posts that mention the User's Nickname
  • Add an inputbox (whitout send button)

Add options :

  • ignore join/quit messages
  • highlight other messages that match regex's user (see settings)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.